Spawn refers to a function that loads and executes a new child process. The current process may or may not continue to execute asynchronously. Creating a new subprocess requires enough memory in which both the child process and the current program can execute. There is a family of spawn functions in the Microsoft Windows line of operating systems. There is also a different family of spawn functions in an optional extension of the POSIX standards .
| Property | Value |
| dbpprop:abstract
|
- Spawn refers to a function that loads and executes a new child process. The current process may or may not continue to execute asynchronously. Creating a new subprocess requires enough memory in which both the child process and the current program can execute. There is a family of spawn functions in the Microsoft Windows line of operating systems. There is also a different family of spawn functions in an optional extension of the POSIX standards . The Microsoft Windows spawn functions are inspired by Unix functions fork and exec; however, as Windows does not support fork, the spawn function was supplied as a replacement for the fork-exec combination. However, the spawn function, although it deals adequately with the most common use cases, lacks the full power of fork-exec, since after fork any process settings which will survive an exec may be changed. However, in most cases, this deficiency can be made up for by using the more low-level CreateProcess API. The Posix spawn functions were introduced to enable support for processes in Posix implementations for embedded environments that don't support swapping or dynamic address translation . The remainder of this article discusses only the Microsoft Windows spawn functions. Files that are open when a spawn call is made remain open in the child process. In the spawnl, spawnlp, spawnv, and spawnvp calls, the child process inherits the environment of the parent.
|
| dbpprop:hasPhotoCollection
| |
| dbpprop:reference
| |
| rdfs:comment
|
- Spawn refers to a function that loads and executes a new child process. The current process may or may not continue to execute asynchronously. Creating a new subprocess requires enough memory in which both the child process and the current program can execute. There is a family of spawn functions in the Microsoft Windows line of operating systems. There is also a different family of spawn functions in an optional extension of the POSIX standards .
|
| rdfs:label
| |
| owl:sameAs
| |
| skos:subject
| |
| foaf:page
| |
| is dbpprop:disambiguates
of | |
| is dbpprop:redirect
of | |