kernel_perspective (@unix_byte) 's Twitter Profile
kernel_perspective

@unix_byte

Vintage Unix news. Book "Understanding Linux: The Kernel Perspective" leanpub.com/linuxkernel/

ID: 947360317247430656

calendar_today31-12-2017 06:54:35

236 Tweet

8,8K Takipçi

141 Takip Edilen

kernel_perspective (@unix_byte) 's Twitter Profile Photo

In the bash source code, there is a “nofork” condition, which causes bash not to fork a child before executing a program. But why would bash want to execute a program without forking first? This is used by the bash exec built-in, which skips forking and calls execve() directly

In the bash source code, there is a “nofork” condition, which causes bash not to fork a child before executing a program. But why would bash want to execute a program without forking first? This is used by the bash exec built-in, which skips forking and calls execve() directly