os.waitpid(p.pid, 0)
But I get the error: "No child process". Any ideas?
placid wrote:
> Kkaa wrote:
> > I'm using the os.system command in a python script on Windows to run a
> > batch file like this:
> >
> > os.system('x.exe')
> >
>
I'm using the os.system command in a python script on Windows to run a
batch file like this:
os.system('x.exe')
The third-party program x.exe outputs some text to the console that I
want to prevent from being displayed. Is there a way to prevent the
output of x.exe from python?
--
http://mail.