Enable to abort with an invalid character of a command name

Implemented an abnormal end process when
an invalid character exists in a command.
Test for this process is also added to.