Calling an exe within Python
poseidon_cma at my-deja.com
poseidon_cma at my-deja.com
Tue Jan 30 09:29:53 EST 2001
i've been using this to call batch files:
cmd=os.popen(call)
list=cmd.readlines()
result=cmd.close()
list is the output of the program, result has the
script wait.
Cheers
james
> (1) Easy question, is this possible?
> (2) When I do such a call, does execution
within the Python script wait for the
> exe to finish or does it spawn a new threat for
the exe and move on?
Sent via Deja.com
http://www.deja.com/
More information about the Python-list
mailing list