System function Call - Nowait possible - linux environment?
Hi ,
This is not homework! Its a simple question about system calls on linux systems.
If I run a system command such as this:
Code:
#include <string>
int main()
{
std::string app_string("gedit");
system( app_string.c_str() );
return 0;
}
It works perfectly fine, but my app waits for the user to terminate example:gedit before the program continues its main loop.
What I am looking for is the correct method to call another executable and not wait for it to terminate, just continue the main loop.
Is this possible with this command? or any other command for that matter.
Thanks in advance