<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I want to run a bash script (file.sh) from inside PureData, on
Linux.<br>
<br>
I do this on Python, using
subprocess.Popen(['/home/mario/script1.sh']).<br>
<br>
<b>More information of what I'm looking for:</b> '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.<br>
<br>
The "script2.sh" I want not to be closed will:<br>
<br>
- kill PureData<br>
- kill Jack<br>
- run Jack again (with different frequency rate and frame/buffer)<br>
- run PureData (other patch)<br>
- run BlenderPlayer<br>
</body>
</html>