spawn and NO window

Steve Holden sholden at
Fri Mar 7 14:27:13 CET 2003

"Iespana" <joso at> 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.

Steve Holden                        
Python Web Programming       
Register for PyCon now!  

More information about the Python-list mailing list