os.system() and path problems
robert_j_roberts at rl.gov
Mon Nov 13 13:35:36 CET 2000
I apoligize if this comes through as a re-post. I posted last week
and as far as I can tell, my post never made it. Hence, I try again.
Am running Python 1.5.2 on Windows NT.
I have Python code that launches a .bat file. It has worked fine for
over a year and suddenly quit working. I know see the same problem
when testing within the interactive interpreter.
It's most likely a problem with something they've done on our network
here, but someone might have a suggestion.
The code looks something like this.
# Note: I even tried...
In the interactive interpreter, if I run something like...
... I find that the cwd is exactly what I set it to. However, if I do
...and pause it in time, I find that the dir was done on
...hence, the cwd as seen by Python versus the cwd seen by os.system()
are two different things.
More information about the Python-list