Has anyone found this behavior when the shell (cmd.exe) closes right after the call? I ran McAfee AV and check the Windows system files (sfc.exe), and nothing bad was found, I even copied the cmd.exe file from another win 7 machine, and it still works the same. The strangest thing is that on Windows 7 64 there is also a 32-bit version of this file, which works perfectly fine.
SysInternals Process Monitor shows that cmd.exe process exits with exit code 0x0 ... o_O
In addition, calling commands directly from the Start menu, for example, ping, works fine ...
Perhaps this question is not directly related to coding, but this question keeps me from many things related to real application development and environment testing.
source
share