Re: Subprocess module question.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gabriel Genellina

    Re: Subprocess module question.

    En Tue, 19 Aug 2008 22:06:13 -0300, aditya shukla
    <adityashukla19 83@gmail.comesc ribi�:
    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.ex e" 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

Working...