[Gambas-user] help with EXEC usage

Benoît Minisini gambas at ...1...
Fri Mar 25 00:12:37 CET 2011


> Bit short of time... but quickly looking at this.
> I'm not sure but I think this problem has something to do with fact that
> you are starting two process with shell command.
> And I'm not sure how Gambas2 handles these... does it try to kill the shell
> itself, or process started with command shell.
> 
> So, you can try retrieve separated process pids (for get_iplayer and for
> mplayer) with pgrep, and use them to kill those processes.
> 
> Maybe this is bug, Benoit?
> 
> Jussi
> 

Gambas kills the shell process by sending it the SIGKILL signal. He is not 
aware of the processes run by the shell itself, and I don't know if the shell 
kills its child processes automatically when being killed.

-- 
Benoît Minisini




More information about the User mailing list