469,613 Members | 1,301 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,613 developers. It's quick & easy.

process.py problems

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.
import process
p = process.ProcessOpen("dir") Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "process.py", line 1108, in __init__
self._startOnWindows()
File "process.py", line 1279, in _startOnWindows
cmd = _fixupCommand(cmd, self._env)
File "process.py", line 506, in _fixupCommand
cmd = _whichFirstArg(cmd, env)
File "process.py", line 315, in _whichFirstArg
candidates = list(which.which(first))
File "which.py", line 251, in which
raise WhichError("Could not find '%s' on the path." % command)
which.WhichError: Could not find 'dir' on the path. p = process.ProcessOpen("dir.exe") Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "process.py", line 1108, in __init__
self._startOnWindows()
File "process.py", line 1279, in _startOnWindows
cmd = _fixupCommand(cmd, self._env)
File "process.py", line 506, in _fixupCommand
cmd = _whichFirstArg(cmd, env)
File "process.py", line 315, in _whichFirstArg
candidates = list(which.which(first))
File "which.py", line 251, in which
raise WhichError("Could not find '%s' on the path." % command)
which.WhichError: Could not find 'dir.exe' on the path. p = process.ProcessOpen("cmd") Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "process.py", line 1108, in __init__
self._startOnWindows()
File "process.py", line 1295, in _startOnWindows
raise ProcessError(msg=ex.args[2], errno=ex.args[0])
process.ProcessError: The system cannot find the file specified.


Jul 18 '05 #1
0 1441

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Sidharth | last post: by
4 posts views Thread by Christian Billig | last post: by
22 posts views Thread by Zen | last post: by
reply views Thread by Sergistm | last post: by
8 posts views Thread by Henrik | last post: by
2 posts views Thread by =?Utf-8?B?R2lkaQ==?= | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.