Top "Fork" questions

The `fork()` function is the Unix/Linux/POSIX way of creating a new process by duplicating the calling process.

Does this multiple pipes code in C makes sense?

I've created a question about this a few days. My solution is something in the lines of what was suggested …

c exec fork pipe dup2
How to pass messages as well as stdout from child to parent in node.js child process module?

I am having a problem with child-process module, specifically with child.spawn and child.fork. I am relying on the …

node.js fork child-process spawn
prctl(PR_SET_PDEATHSIG, SIGNAL) is called on parent thread exit, not parent process exit

I have a process that is forking to a child process. The child process should not exist if the parent …

c++ multithreading fork execv
Is there a way to share memory among workers/threads/something in Node.JS?

I have a Node app which accesses a static, large (>100M), complex, in-memory data structure, accepts queries, and then …

multithreading node.js parallel-processing fork
How can I pass a socket from parent to child processes

I'm stuck on a problem in a C program on Linux. I know that when a processes is forked the …

c sockets webserver fork file-descriptor
Does the C execv() function terminate the child proccess?

Heres a breakdown of my code. I have a program that forks a child (and registers the child's pid in …

c fork switch-statement execv
How to timeout waitpid without killing the child?

I am aware of the many questions regarding waitpid and timeouts but they all cover this by killing the child …

perl ipc fork waitpid
Multiple pipe implementation using system call fork() execvp() wait() pipe() - it is simply not working

I need to implement my shell that handles multiple pipe commands. For example I need to be able to handle …

c shell fork pipe waitpid
fork as organization after already forking in github

Is it possible to 'fork again' in github? I had forked a public repository, but then I became owner of …

github fork organization
fork/exec/waitpid issue

I'm trying to determine whether an execution failed by checking the result of waitpid(). However, even when I run a …

c exec fork execvp waitpid