Hi,
I am running an application through a pipe. This applcation starts to record sound from the soundcard until I hit Enter.
To start the application I am using the following line:
then I useCode:_cmd_pipe = _popen(recordWaveCmd.c_str(),"r")to send a "\n" to stop recording.Code:fputc('\n',_cmd_pipe);
However, when I use the commandmy main application stops until i hit the Escape key, and that's a problem.Code:_pclose(_cmd_pipe);
Is there anyway to solve this problem?
Best regards,
Alex.