Message94312
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 |
|
Date |
User |
Action |
Args |
2009-10-21 15:24:55 | stac | set | recipients:
+ stac, gvanrossum, christian.heimes, schu |
2009-10-21 15:24:54 | stac | set | messageid: <1256138694.48.0.947497824967.issue1235@psf.upfronthosting.co.za> |
2009-10-21 15:24:53 | stac | link | issue1235 messages |
2009-10-21 15:24:52 | stac | create | |
|