Launch external application

Aug 4, 2016 at 7:25pm
I'm looking for a way to launch an external application on linux. (other than system)/ I've been looking for some time but haven't been able to find what I'm looking for. Basically I want something that does this
1
2
3
  string program;
  cin >> program;
  launch program;

Thanks for any help you can give!
Aug 4, 2016 at 8:34pm
Look at fork and exec or threads.
Topic archived. No new replies allowed.