how to run a DOS program without getting a box?

Richard Dobson rwd at cableinet.co.uk
Tue Jan 16 19:00:36 EST 2001


Hi all,

I have tried both os.system() and the exec~ calls, and they all cause
the Windows console to display when running a command-line program (in
my case, to play a soundfile I don't need to see the screen messages).
Is there a way to suppress this? Other languages, such as tcl/tk and GNU
Octave manage this fine. I'm using Python 2.0 under Windows2000 (sp1),
with IDLE.


Richard Dobson




-- 
Test your DAW with my Soundcard Attrition Page!
http://www.bath.ac.uk/~masrwd (LU: 3rd July 2000)
CDP: http://www.bath.ac.uk/~masjpf/CDP/CDP.htm (LU: 23rd February 2000)



More information about the Python-list mailing list