|
-
March 15th, 2001, 11:02 AM
#1
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
-
October 2nd, 2001, 09:39 AM
#2
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|