calling a .exe from Python

Y

yoevidentemente

Hi, i am trying to call a .exe from my .py file, i have found the exec
function, but i'm not sure of how to use it:S

would it be f.e.:

execl (mypath/myfile.exe,myfile,arg1,arg2,...)

????

Another question is, when i call my .exe with exec, i understand that
my .py file will stop running, and instead the new process will be
launched instead of it. Is it true?
Is there a way to launch my .exe without finishing my .py file??

thank you very much:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top