I\'m trying to run commands straight through the CMD on Windows (Terminal on Linux). I have the following code. It\'s acting very strangely. First, when run the program does
cmd tries to run a command prompt ,
to run the command properly you need the following command line
cmd.exe -c ipconfig.exe
the -c means run the command on the rest of the command line