Hi,
I have started a process with wxExecute and redirected standard output and input.
But if I call
MP3Process->GetOutputStream() -> PutC('s');
nothing happens. The process (mpg123 , a command line program to play mp3 files) doesn´t react.
mpg123 uses stdin - at least it says so in the docs. If I start it in a shell, it reacts to commands given with the keyboard.
Am I doing something wrong in the way I put my chars to the process?
Thanks,
Andreas
Sending chars to a process
Re: Sending chars to a process
Hi,
it seems that the way mpg123 handles it´s input stream is out of the ordinary.
I have now tested vlc media player with it´s command-line interface, here I can send commands via the wxProcess input stream with no problems.
it seems that the way mpg123 handles it´s input stream is out of the ordinary.
I have now tested vlc media player with it´s command-line interface, here I can send commands via the wxProcess input stream with no problems.