Hello,
I was like trying to do this but i could able to achieve. Perhaps I know that there is solution which I couldn't able to find. What I am after is, when I click on a button, I want a console opening up and start executing a exe file which I give. So for example, if I say something like
So console is a command which opens up a new console and in that console I want the binary to be executed. Well I could have used exec family function to run the exe file. But the problem is that I need some values reading in from user. So if that was on a new console, obviously the console will prompt the user to enter some value.Code:system("konsole <exe filename>");
It is something like, when user press Alt+F10 on Dev-C++ the program gets compiled and opens a console and runs that binary within that console (Assuming that program compiled with errors and warnings).
How can we do this in Linux. Any help would be much appreciated.
Thanks a lot in advance.
ssharish