spawn and NO window
Steve Holden
sholden at holdenweb.com
Fri Mar 7 08:27:13 EST 2003
"Iespana" <joso at iespana.es> wrote ...
> Hi,
>
> My problem is that I execute "os.spawnv(os.P_NOWAIT,
"fich.exe",[var1,var2])" and it's launched in other window.
> I want to execute fich.exe in background, not opening other window. I
don't write any message on screen.
>
> This execution is in windows (not linux)
> Thanks
Then you *probably* want
os.system("fich.exe %s %s" % (var1, var2))
or something similar. Depends what you want to do with the output from the
command - you might have to step up to popen2 and friends.
regards
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/pwp/
Register for PyCon now! http://www.python.org/pycon/reg.html
More information about the Python-list
mailing list