Hello.
I'm having a problem with the module subprocess. I'm running a script from python through:
subprocess.Popen('./run_pythia.sh',shell=True).communicate()
and sometimes it just blocks and it doesn't finish to execute the script. Before I was using .wait() instead of .communicate() but then because of this:
http://dcreager.net/2009/08/06/subprocess-communicate-drawbacks/
I changed to .communicate(). Nevertheless the problem continues.
Can anyone help me?