Ask Your Question
1

How can a new process be initiated that is not a successor of the original spawning process?

asked 2021-08-19 11:00:00 +0000

plato gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-10-03 11:00:00 +0000

devzero gravatar image

One way to initiate a new process that is not a successor of the original spawning process is through a "fork and exec" operation. This involves creating a new process by duplicating the current process through the fork() system call, and then using the exec() system call to replace the code and data of the new process with a different executable file.

Another way is to use a process scheduling or job control system, such as a daemon process or a batch job. These processes are typically started independently, without a direct relationship to the original spawning process.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-08-19 11:00:00 +0000

Seen: 7 times

Last updated: Oct 03 '22