Re: How to determine subprocess.Popen() failed when shell=True
For the archives - solution posted at http://stackoverflow.com/questions/2861548/how-to-determine-subprocess-popen-failed-when-shelltrue Malcolm -- http://mail.python.org/mailman/listinfo/python-list
Re: How to determine subprocess.Popen() failed when shell=True
On Mon, May 17, 2010 at 1:45 PM, wrote: > Windows version of Python 2.6.4: Is there any way to determine if > subprocess.Popen() fails when using shell=True? > > Popen() successfully fails when shell=False > import subprocess p = subprocess.Popen( 'Nonsense.application', shell=False ) >