This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stac
Recipients christian.heimes, gvanrossum, schu, stac
Date 2009-10-21.15:24:48
SpamBayes Score 2.3318569e-07
Marked as misclassified No
Message-id <1256138694.48.0.947497824967.issue1235@psf.upfronthosting.co.za>
In-reply-to
Content
Hello,

I am new to Python issues tracker. I had the error described above. I
worked on it.

I was not able to solve the issue only using subprocess. The command has
to be correctly formated (with the double quotes).

I corrected the cmdline definition as described first and migrated from
popen2 and popen3 to subprocess. I don't think I have the rights to
commit any code so I send the modified file.

Don't hesitate to tell me if you want me do to more.
Regards,

Stac

PS : For information, the attached file correct the following error :

localhost - - [21/Oct/2009 17:20:52] "POST /cgi/test.py HTTP/1.1" 200 -
localhost - - [21/Oct/2009 17:20:52] command:
C:\Produits\Python26\python.exe -u C:\Documents and
Settings\stac\workspace\PyToolkit\src\network\cgi\test.py ""
localhost - - [21/Oct/2009 17:20:53] C:\Produits\Python26\python.exe:
can't open file 'C:\Documents': [Errno 2] No such file or directory

Now you have :
localhost - - [21/Oct/2009 16:48:46] "POST /cgi/test.py HTTP/1.1" 200 -
localhost - - [21/Oct/2009 16:48:46] command:
C:\Produits\Python26\python.exe -u "C:\Documents and
Settings\stac\workspace\PyToolkit\src\network\cgi\test.py" ""
localhost - - [21/Oct/2009 16:48:47] CGI script exited OK
History
Date User Action Args
2009-10-21 15:24:55stacsetrecipients: + stac, gvanrossum, christian.heimes, schu
2009-10-21 15:24:54stacsetmessageid: <1256138694.48.0.947497824967.issue1235@psf.upfronthosting.co.za>
2009-10-21 15:24:53staclinkissue1235 messages
2009-10-21 15:24:52staccreate