First time here? Check out the FAQ!
answered 2018-04-17 08:50:40 +0000
The C Std Library system call doesn't provide any control over the target execution environment. Assuming you're using Windows (you mentioned a cmd window) then you should look into using the Win32 API CreateProcess.
system