On 12 Jun., 11:51, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Thu, 12 Jun 2008 05:28:13 -0300, boriq <[EMAIL PROTECTED]>  
> escribió:
>
> > 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?
>
> Use the subprocess module instead of os.system
>
> --
> Gabriel Genellina

I'm on version 2.2.1 because of a program we use and it uses this
version.

and the subprocess module was implemented in version 2.4

Any possibility to do it with the old stuff in ver 2.2.1?

Thx
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to