[PD] Run bash script from Puredata?

Mario Mey mariomey at gmail.com
Wed Nov 27 23:33:22 CET 2013


I want to run a bash script (file.sh) from inside PureData, on Linux.

I do this on Python, using subprocess.Popen(['/home/mario/script1.sh']).

*More information of what I'm looking for:* 'script1.sh' has 
'gnome-terminal -e "/home/mario/script2.sh"' inside. So, a console 
terminal is opened (running the script) and, when I close the python 
code running, the subprocess "script1.sh" is closed... but the console 
with "script2.sh" running isn't.

The "script2.sh" I want not to be closed will:

- kill PureData
- kill Jack
- run Jack again (with different frequency rate and frame/buffer)
- run PureData (other patch)
- run BlenderPlayer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20131127/efb92f66/attachment.htm>


More information about the Pd-list mailing list