Hi!
I’m implementing a daemon process that will need to programmatically start other applications. I’m planning to use system() from <process.h>. Please let me know if there is a better way to do that.
Thanks!
Printable View
Hi!
I’m implementing a daemon process that will need to programmatically start other applications. I’m planning to use system() from <process.h>. Please let me know if there is a better way to do that.
Thanks!
If you are using windows you can use ShellExecute() or createProcess(). I am using ShellExecute() to launch MS Word. It works great.
system("file.exe") works fine, from <cstdlib>
Dunno about that process.h crap