Top "Fork" questions

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

How to rebrand/copyright a forked project (GNU/GPL)?

long story short, we're forking a free software. The code is under GNU/GPL license, we've tried to collaborate with …

licensing fork gpl
Using istringstream in C++

I have some code that utilizes fork, execlp, and wait to make two processes. The objective is to be able …

c++ fork exec wait istringstream
How can I timeout a forked process that might hang?

I am writing a Perl script that will write some inputs and send those inputs to an external program. There …

perl fork alarm
What is pycryptodomex and how does it differ from pycryptodome?

Today I saw PySNMP installing pycryptodomex. The x in that name looked suspicious and surprising. I tried to track it …

python fork pycryptodome
Why does this program print "forked!" 4 times?

Why does this program print “forked!” 4 times? #include <stdio.h> #include <unistd.h> int main(void) { …

c linux unix fork systems-programming
Start background process/daemon from CGI script

I'm trying to launch a background process from a CGI scripts. Basically, when a form is submitted the CGI script …

python apache cgi fork
fork() failing with Out of memory error

The parent process fails with errno=12(Out of memory) when it tries to fork a child. The parent process runs …

linux fork virtual-memory memory-overcommitment
Add Github fork to existing repository

I setup an Octopress project following the given instructions (http://octopress.org/docs/setup/) which have you create a Github …

git github fork
How to handle readlink() of "/proc/self/exe" when executable is replaced during execution?

In my C++ application, my application does an execv() in a fork()ed child process to use the same executable …

c++ linux exec fork self-reference
Python: fork, pipe and exec

I want to execute a program in a python application, it will run in the background but eventually come to …

python exec fork stdio dup