Problems with os.system and os.environ when calling Python from another program
Olav Benum
OlavB at yahoo.com
Tue Sep 5 08:15:21 EDT 2000
More information about the Python-list mailing list
Tue Sep 5 08:15:21 EDT 2000
- Previous message (by thread): CR LF
- Next message (by thread): pseudocolor visual and colormap for PIL or tk?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 "excute.py"
os.system("dir")
print "execute.py 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.
Thanks!
Olav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20000905/e5a3683e/attachment.html>
- Previous message (by thread): CR LF
- Next message (by thread): pseudocolor visual and colormap for PIL or tk?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list