Execute C code through Python

Peter Hansen peter at engcorp.com
Wed Oct 26 01:42:39 CEST 2005

Ernesto wrote:
> So i generated the .exe file "myFile.exe"
> This is a Windows - text based application.  Right now, when I run:
> import subprocess
> subprocess.call("myFile")
> the application starts in its own console window.  Is there a way for
> it to run inside the python interface?

Google found the following (after I read the docs for subprocess and 
learned about the "startupinfo" flag, and searched for "subprocess 
startupinfo").  Does this help?



More information about the Python-list mailing list