Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
The Shell Is a Program (belkadan.com)
3 points by zdw on Dec 27, 2024 | hide | past | favorite | 1 comment


> I’ve said on occasion that shell syntax is a DSL for posix_spawn.

Heaven help us! clone/exec not posix_spawn, a shell needs to do things in the new process before starting a new executable.

There's more to a Linux command line (which is what the article is about) than processes. Other important primitives involve files, file names file descriptors, pipes, and sockets.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: