[python-win32] os.system(cmd)

Phill Atwood me at phillatwood.name
Sun Mar 19 02:38:22 CET 2006


Thanks, using subprocess.call(cmd, shell=True) worked for me without 
flashing anything.

Phill


Shane Holloway (IEEE) wrote:
> I'd suggest looking at the subprocess module if you are using python 
> 2.4, or one of the many os.popen variants for prior versions.
>
>
> On Mar 18, 2006, at 16:33, Phill Atwood wrote:
>
>>
>> I am using os.system(cmd) to call a DOS program on WinXP that I need to
>> call.  It works fine but it flashes a Command Prompt Window while it
>> does it. Is there any way to suppress this?
>>
>> _______________________________________________
>> Python-win32 mailing list
>> Python-win32 at python.org
>> http://mail.python.org/mailman/listinfo/python-win32




More information about the Python-win32 mailing list