[PD] how to kill all [shell]'s child before quitting Pd
jack at rybn.org
Tue May 28 20:34:35 CEST 2013
Le 28/05/2013 20:14, Antoine Villeret a écrit :
> I'm calling a new instance of Pd inside a Pd patch with [shell]
> but I notice I can't quit the main pd instance if a process is still
> running inside the [shell]
> the GUI hangs until the process ends (until I quit Pd)
> since the child pd is running without gui,
> 1) is it possible to exit a running process via [shell] ?
> for example how could I send a ^c (ctrl+c) command ?
> 2) moreover, how to trig it when I press ctrl+Q or menu quit ?
> 3) the [noquit] abstraction gives me a tcl error : "can't rename
> menu_quit command doesn't exists"
> I'm running pd vanilla 0.44-2
> thanks for help
> do it yourself
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
With the message [pd & echo $!( to [shell], you should get the PID of
the subprocess. A [kill number_PID( to [shell] should kill this subprocess.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list