Re: [python-win32] hide subshell os.system

2005-09-23 Thread Tim Roberts
On Fri, 23 Sep 2005 10:46:38 +0200, le dahut <[EMAIL PROTECTED]> wrote: >Hi everyone, > >How can the subshell be hidden when executing code such as : > >os.system('ping host') ? > >The program uses GTK and it's very annoying to see a black window when >using a graphical program ... > ASPN includ

Re: [python-win32] hide subshell os.system

2005-09-23 Thread le dahut
Here, it's not really an answer but it may help many people. The ping module by Lars Strand : http://www.gnist.org/~lars/code/ping/ping.html Must be run as root on unix stations ... K. Le vendredi 23 septembre 2005 à 11:55 +0200, Thomas Heller a écrit : > le dahut <[EMAIL PROTECTED]> writes: >

Re: [python-win32] hide subshell os.system

2005-09-23 Thread Thomas Heller
le dahut <[EMAIL PROTECTED]> writes: > Hi everyone, > > How can the subshell be hidden when executing code such as : > > os.system('ping host') ? > > The program uses GTK and it's very annoying to see a black window when > using a graphical program ... You should use the subprocess module instead

[python-win32] hide subshell os.system

2005-09-23 Thread le dahut
Hi everyone, How can the subshell be hidden when executing code such as : os.system('ping host') ? The program uses GTK and it's very annoying to see a black window when using a graphical program ... Thanks, K. ___ Python-win32 mailing list Python-w