Differences between revisions 3 and 4
Revision 3 as of 2007-12-16 00:07:36
Size: 690
Editor: PeMac
Revision 4 as of 2007-12-16 13:30:00
Size: 730
Comment: bad name (CamelCase), read DebianWiki/EditorGuide
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from child process

A child process is a ["computer process"] created by another process (the ["parent process"]).

A child process inherits most of its attributes, such as open files, from its parent. In ["Unix-like"] OSes, as Linux, a child process is in fact created (using ["fork"]) as a copy of the parent. The child process can then overlay itself with a different program (using ["exec"] as required.

Each process may create many child processes but will have only one parent process, except for the very first process which has no parent. The first process, called ["init"] in UNIX, is started by the ["kernel"] at ["booting"] time and never terminates.