Hi, I've been looking around for how to execute another application from a c++ app.
I remember in VB I could have my app launch the browser or other app and could even have it launch command line with the commands I wanted the system to run.
I have found several post at other places that say c++ can't do that without the use of some non c++ libs.
I find it hard to believe and think that would be a major disfunction in c++ if it can't execute or send commands to the system shell. BTW I was also reading that system() was something implemented in my c++; not actually my system.
Is all of this true? Is there any way to write a c++ program that can execute other apps or send commands directly to the shell? In my case this would be bash in linux but how to execute command.exe in windows would be helpful.
If it could be done with system() how can I put commands from user input into the system command? I tried it with a variable like system(commands); with no luck.
Any info you can provide on this topic is helpful for me to understand it.