Le 28/05/2013 20:14, Antoine Villeret a écrit : > hi, > > 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 > > antoine > > -- > do it yourself > http://antoine.villeret.free.fr > > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list Hello Antoine,
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. ++ Jack
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
