porting code from NT to LINUX
In my NT application I launch processes, each with its command line, with CreateProcess function, and wait for them to exit with WaitForMultipleObjects function.
I can not find the equivalent functionality with Linux:
fork function does not take a command line parameter.
exec functions replace the current image and do not return.
Where can I find documentation / help ?
Thank you
yoseft
Re: porting code from NT to LINUX
Easy, use both:
First process: fork, then there are two processes, and one can be exec-ed with the process you would like.
Perhaps system() is what you would like to do?