Click here to Skip to main content
15,179,246 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hey ! I am using python 2.7, and i want to open through my python script another executable in a subprocess. I am specifically using subprocess.Popen method. Now, what i want is to open this program in a subprocess... but also pass arguments to it. Is there a way ?? Thanks

What I have tried:

subprocess.Popen("ExecutablePath.exe -i myargument")
Posted
Updated 2-Mar-17 22:38pm
v2

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900