Page 1 of 1
Catch the output of console tools?
Posted: Fri Sep 03, 2004 12:25 pm
by Kazmirzak
Some tools (for example some mp3-encoder) create some responses in a console window. The problem is that opened with RunProgram or ShellExecute, the outputwindow disappears before you are able to read the content.
Is it possible to cath this output (I think something like changing the standard output) into a string in PureBasic?
Re: Catch the output of console tools?
Posted: Fri Sep 03, 2004 12:40 pm
by Rings
Kazmirzak wrote:Some tools (for example some mp3-encoder) create some responses in a console window. The problem is that opened with RunProgram or ShellExecute, the outputwindow disappears before you are able to read the content.
Is it possible to cath this output (I think something like changing the standard output) into a string in PureBasic?
have you ever used the search-function or browsed purearea.net ?
i have done that long before and you are the 108 . user which ask for without searching itself . perhaps the searchfunction did not work.
viewtopic.php?p=12529&highlight=redirected+pipes#12529
Posted: Fri Sep 03, 2004 1:28 pm
by GedB
Rings,
Be fair. Pipes is a unix expression and not many Win32ers are familiar with it.
The post doesn't mention Console, RunProgram or ShellExecute.
Posted: Fri Sep 03, 2004 5:50 pm
by Kale
El_Choni's CGI lib may be some use here. I couldn't find it anywhere though.
