Hello,
I need to write a little C/C++ program that launches an executable and controls it (be able to identify if it is running, be able to kill it if necessary). I have done this already in Windows with ViusualC++.
Question, I have an executable to test (Butterfly.exe) that does not execute in Unix, the error I get:
/bin/sh: Butterfly.exe: cannot execute
Do you know how can I get this to execute (it does in windows)? And if not, can you suggest me an .exe that can be useful for my purposes?
Any help is appreciated, I am not a Unix person, unfortunately.
I need to write a little C/C++ program that launches an executable and controls it (be able to identify if it is running, be able to kill it if necessary). I have done this already in Windows with ViusualC++.
Question, I have an executable to test (Butterfly.exe) that does not execute in Unix, the error I get:
/bin/sh: Butterfly.exe: cannot execute
Do you know how can I get this to execute (it does in windows)? And if not, can you suggest me an .exe that can be useful for my purposes?
Any help is appreciated, I am not a Unix person, unfortunately.