suppress opening command window after using os.system command

boriq boris.smirnov at gmail.com
Thu Jun 12 10:28:13 CEST 2008


Hi,

I'm using in my script command os.system('command') on Windows XP.
Each time the os.system command is used, python opens an empty ms-dos
command window (the black one) and then closes it. So when in one
script the os.system command 50 times is used, I see 50 black windows.

Is there a way of how to suppress this unnecessary command windows to
be opened?

thx.
Boris



More information about the Python-list mailing list