o*****l 发帖数: 539 | 1 in UNIX, we can spawn a child process by fork(), is there any other way to
spawn a child process? |
a****l 发帖数: 8211 | 2 why do you want to have another identical feature? Just for fun?
【在 o*****l 的大作中提到】 : in UNIX, we can spawn a child process by fork(), is there any other way to : spawn a child process?
|
o*****l 发帖数: 539 | 3 I was asked this question during a interview.
【在 a****l 的大作中提到】 : why do you want to have another identical feature? Just for fun?
|
b********n 发帖数: 609 | 4 exec
【在 o*****l 的大作中提到】 : in UNIX, we can spawn a child process by fork(), is there any other way to : spawn a child process?
|
X****r 发帖数: 3557 | 5 The exec() family of functions replaces the current process
image with a new process image. They do not spawn any child
process.
【在 b********n 的大作中提到】 : exec
|
w***g 发帖数: 5958 | 6 vfork哈哈.一般vfork后立刻调用exec.
【在 o*****l 的大作中提到】 : in UNIX, we can spawn a child process by fork(), is there any other way to : spawn a child process?
|