Well I have tried all of methods available on StackOverflow
1) !myfile.exe args
2) subprocess.call()
and 3) subprocess.POpen()
as per What's the difference between subprocess Popen and call (how can I use them)?
4) os.system
as per How to run external executable using Python?
My program starts, but I am not seeing any output window, Actually my.exe programme is compiled using VisualStudio and I am taking few inputs in that .exe program using StdIn,
I have tried os.wait()
, subprocess.wait()`` os.sleep(3)
command my still output comes and disappears.
I have also tried this how to run an exe file with the arguments using python but problem is same.
What does my .exe program do? Actually I am giving one file ".bin" file as command argument to my program. Further my program prompts user to take few strings as input using Std In.