   Start program from program (Linux)
  HiI use: C++, Qt, standard linux libs* How do I start a given program from my application?* How do I check if a given application is already running on the system?Any ideas are much appreciated...// Javelin   
  * read "man 3 system"---NAME  system - execute a shell commandSYNOPSIS  #include   int system(const char *command);---Note that this will block the caller while the called program is running; you can either "fork" before "system" or append "&" to the command and let the shell handle it.* checking for a running program can be harder; if it creates pid files/sockets in pre-defined pathes you can manually check those; otherwise you have to either iterate over /proc/[pids] or parse "ps" output (I do that using a popen(...) call).   ;  fork and then exec (not system!)   ;  OkI will try your suggestions.Thank you// Javelin   