How to execute a cmd line program without invoking console window?

Tian wangtianthu at
Tue Mar 29 23:23:55 CEST 2005

In Windows, I have been simply using os.system() to run command line
program in python. but there will be a black console window. How can I
run the program without invoking that window? i guess there are some
function with which I can redirect the output?

More information about the Python-list mailing list