Hello,
I was wondering if anyone has seen this behavior before for the
process.py
module available at http://starship.python.net/crew/tmick/. I've been
using it quite well on windows 2000 servers, but when I try to use it on
a window nt 4.0 box I get the results posted below. I have both
process.py and which.py installed.
Any help you can provide is greatly appreciated.
[color=blue][color=green][color=darkred]
>>> import process
>>> p = process.Process Open("dir")[/color][/color][/color]
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "process.py ", line 1108, in __init__
self._startOnWi ndows()
File "process.py ", line 1279, in _startOnWindows
cmd = _fixupCommand(c md, self._env)
File "process.py ", line 506, in _fixupCommand
cmd = _whichFirstArg( cmd, env)
File "process.py ", line 315, in _whichFirstArg
candidates = list(which.whic h(first))
File "which.py", line 251, in which
raise WhichError("Cou ld not find '%s' on the path." % command)
which.WhichErro r: Could not find 'dir' on the path.[color=blue][color=green][color=darkred]
>>> p = process.Process Open("dir.exe")[/color][/color][/color]
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "process.py ", line 1108, in __init__
self._startOnWi ndows()
File "process.py ", line 1279, in _startOnWindows
cmd = _fixupCommand(c md, self._env)
File "process.py ", line 506, in _fixupCommand
cmd = _whichFirstArg( cmd, env)
File "process.py ", line 315, in _whichFirstArg
candidates = list(which.whic h(first))
File "which.py", line 251, in which
raise WhichError("Cou ld not find '%s' on the path." % command)
which.WhichErro r: Could not find 'dir.exe' on the path.[color=blue][color=green][color=darkred]
>>> p = process.Process Open("cmd")[/color][/color][/color]
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "process.py ", line 1108, in __init__
self._startOnWi ndows()
File "process.py ", line 1295, in _startOnWindows
raise ProcessError(ms g=ex.args[2], errno=ex.args[0])
process.Process Error: The system cannot find the file specified.[color=blue][color=green][color=darkred]
>>>[/color][/color][/color]
I was wondering if anyone has seen this behavior before for the
process.py
module available at http://starship.python.net/crew/tmick/. I've been
using it quite well on windows 2000 servers, but when I try to use it on
a window nt 4.0 box I get the results posted below. I have both
process.py and which.py installed.
Any help you can provide is greatly appreciated.
[color=blue][color=green][color=darkred]
>>> import process
>>> p = process.Process Open("dir")[/color][/color][/color]
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "process.py ", line 1108, in __init__
self._startOnWi ndows()
File "process.py ", line 1279, in _startOnWindows
cmd = _fixupCommand(c md, self._env)
File "process.py ", line 506, in _fixupCommand
cmd = _whichFirstArg( cmd, env)
File "process.py ", line 315, in _whichFirstArg
candidates = list(which.whic h(first))
File "which.py", line 251, in which
raise WhichError("Cou ld not find '%s' on the path." % command)
which.WhichErro r: Could not find 'dir' on the path.[color=blue][color=green][color=darkred]
>>> p = process.Process Open("dir.exe")[/color][/color][/color]
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "process.py ", line 1108, in __init__
self._startOnWi ndows()
File "process.py ", line 1279, in _startOnWindows
cmd = _fixupCommand(c md, self._env)
File "process.py ", line 506, in _fixupCommand
cmd = _whichFirstArg( cmd, env)
File "process.py ", line 315, in _whichFirstArg
candidates = list(which.whic h(first))
File "which.py", line 251, in which
raise WhichError("Cou ld not find '%s' on the path." % command)
which.WhichErro r: Could not find 'dir.exe' on the path.[color=blue][color=green][color=darkred]
>>> p = process.Process Open("cmd")[/color][/color][/color]
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "process.py ", line 1108, in __init__
self._startOnWi ndows()
File "process.py ", line 1295, in _startOnWindows
raise ProcessError(ms g=ex.args[2], errno=ex.args[0])
process.Process Error: The system cannot find the file specified.[color=blue][color=green][color=darkred]
>>>[/color][/color][/color]