Fix use the exec function execute exception when the name is a command option