Hi,

I am trying to run a command line program (in windows), so I use the following code:

Code:
FILE *cmd_pipe;
cmd_pipe = popen ("WaveRecorder.exe temp.wav", "r");
pclose (cmd_pipe);
Now, I have a problem, my WaveRecorder stops when I press Enter key.

Is there a way to simulate "Enter" into the pipe? Is it possible to write more than one command into the pipe?