how to run script in windows via C system call w/o popup dos shell

charles cosse ccosse at
Thu Feb 1 14:54:49 EST 2001

just spent too much time trying to get NT not to pop up a window
my C function made a "system" call  to run a python script.  I think the

solution is merely to rename the script ".pyw" rather than ".py".
This info was found in David Beasley's (excellent) book: Python
Reference, p. 85. It sure beats creating a new "NT Service" -- which
is what i thought was gonna have to do. Hope this helps someone,


More information about the Python-list mailing list