- ruby | ruby-interpreter
- libc6 (>= 2.17)
- libruby3.1 (>= 3.1.2)
- libruby (>= 1:3.1~0)
- libruby (<< 1:3.2~)
The posix-spawn library aims to implement a subset of the Ruby 1.9
`Process::spawn` interface in a way that takes advantage of fast
process spawning interfaces when available and provides sane fallbacks
on systems that do not.
.
`fork(2)` calls slow down as the parent process uses more memory due to
the need to copy page tables. In many common uses of fork(), where it
is followed by one of the exec family of functions to spawn child
processes (`Kernel#system`,`IO::popen`, `Process::spawn`, etc.), it's
possible to remove this overhead by using the use of special process
spawning interfaces (`posix_spawn()`, `vfork()`, etc.)
Installed Size: 134.1 kB
Architectures: amd64 arm64