spawn and NO window
sholden at holdenweb.com
Fri Mar 7 14:27:13 CET 2003
"Iespana" <joso at iespana.es> wrote ...
> 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)
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.
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