[Gambas-user] Persist problem in EXEC.....

Rob sourceforge-raindog2 at ...94...
Sat Oct 30 00:50:45 CEST 2004


On Friday 29 October 2004 15:34, LB Audio wrote:
>'EXEC [ "mpg321","-v","file.mp3" ] FOR READ
> 'No - Return String in Process
>'EXEC [ "mpg123","-v","file.mp3" ] FOR READ
> 'No - Return String in Process

As I mentioned previously, you need "2>&1" at the end of the 
command line to redirect mpg321's standard error stream (where 
it writes its output!) to standard output so it will trigger 
Process_Read.

If you do not want to do that, I forgot that there is a 
Process_Error event that you can use instead!

http://www.binara.com/gambas-wiki/static/Gambas/GbProcessEError.html

Rob






More information about the User mailing list