En Tue, 19 Aug 2008 22:06:13 -0300, aditya shukla <[EMAIL PROTECTED]> escribi�:

I am using windows vista and i am trying to communicate with various
processes.
so when i do

import subprocess
proc=subprocess.Popen('cmd.exe')
--This opens the command prompt
But when i do

proc=subprocess.Popen('netscan.exe')
it gives an error

WindowsError: [Error 2] The system cannot find the file specified

However "netscan.exe" is present on my system.

Is it on your system PATH? Can you execute "netscan" from a console at the same directory as your script?

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to