[issue1279] os.system() oddity under Windows XP SP2

Tim Golden report at bugs.python.org
Mon Oct 15 15:44:25 CEST 2007


Tim Golden added the comment:

Not, apparently, on my (XP SP2) box:

<dump>
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.system ("""python -c "f=open
('temp.txt','w');f.write('hello');f.close ()"""); print open
("temp.txt").read ()
0
hello
>>>

</dump>

Perhaps you could provide a runnable piece of code which demonstrates
the problem?

----------
nosy: +tim.golden

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1279>
__________________________________


More information about the Python-bugs-list mailing list