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

charles cosse ccosse at psl.nmsu.edu
Thu Feb 1 14:54:49 EST 2001


Hello,
just spent too much time trying to get NT not to pop up a window
everytime
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
Essential
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,
someday.

Charlie




More information about the Python-list mailing list