execute-extended-command

execute-extended-command is an interactive compiled Lisp function in `simple.el'.

It is bound to <execute>, <menu>, M-x.

(execute-extended-command PREFIXARG &optional COMMAND-NAME TYPED)

This function is for interactive use only;
in Lisp code use `command-execute' instead.

Read a command name, then read the arguments and call the command.
To pass a prefix argument to the command you are
invoking, give a prefix argument to `execute-extended-command'.