Message82041
On Windows:
>>> os.popen("cmd", "")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: popen() arg 2 must be 'r' or 'w'
Windows has a specific implementation of os.popen, which does validate
the mode. Whereas on POSIX platforms, the parameters are passed as is to
the popen() function.
I'd call this an "implementation detail", and the exact exception is not
important IMO. |
|
Date |
User |
Action |
Args |
2009-02-14 12:56:00 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, georg.brandl, gaul, birkenfeld, ajaksu2 |
2009-02-14 12:55:59 | amaury.forgeotdarc | set | messageid: <1234616159.83.0.498075700994.issue798520@psf.upfronthosting.co.za> |
2009-02-14 12:55:58 | amaury.forgeotdarc | link | issue798520 messages |
2009-02-14 12:55:58 | amaury.forgeotdarc | create | |
|