Hi All, I'm trying to execute some external commands from multiple database. I'm using threads and subprocess.Popen ( from docs, all the popen* functions are deprecated and I was told to use subprocess.Popen) to execute the external commands in parallel, but the commands seems to hang. My question is: Is subprocess.Popen thread safe? If not, what other module should I use to perform a system call? I also, want to log stdout and stderr to a file. Thanks. -- http://mail.python.org/mailman/listinfo/python-list
- Restricted attribute writing John O'Hagan
- subprocess.Popen and thread module Danny Wong (dannwong)
- Re: subprocess.Popen and thread module Chris Rebert
- RE: subprocess.Popen and thread module Danny Wong (dannwong)
- Re: subprocess.Popen and thread mod... Chris Rebert
- RE: subprocess.Popen and threa... Danny Wong (dannwong)
- Re: subprocess.Popen and t... Chris Rebert
- Re: subprocess.Popen and thread mod... Nobody
- Re: Restricted attribute writing Thomas Jollans
- Re: subprocess.Popen and thread module Thomas Rachel
- Re: Restricted attribute writing Roy Smith
- Re: Restricted attribute writing Steven D'Aprano