Fixed cmd.exe support.