Problems with os.system and os.environ when calling Python from another program

Olav Benum OlavB at
Tue Sep 5 14:15:21 CEST 2000

I have a problem with some os.environ and os.system calls when i execute

a python-program from another program (ColdFusion server) under Windows
NT 4.0.

In the example below it will hang in the os.system call.

import os
print ""
print " done"

Any way around it?

I am thinking of somehow calling cmd.exe, and then calling my python-
script as a shell-command, but I haven't gotten that to work from
ColdFusion cfexecute.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list