Hi,
I am trying to run a command line program (in windows), so I use the following code:
Now, I have a problem, my WaveRecorder stops when I press Enter key.Code:FILE *cmd_pipe; cmd_pipe = popen ("WaveRecorder.exe temp.wav", "r"); pclose (cmd_pipe);
Is there a way to simulate "Enter" into the pipe? Is it possible to write more than one command into the pipe?


Reply With Quote
Bookmarks