diff options
| author | Kleidi Bujari <mail@4kb.net> | 2025-09-12 20:57:59 -0700 |
|---|---|---|
| committer | Kleidi Bujari <mail@4kb.net> | 2025-09-12 21:00:27 -0700 |
| commit | fe96211bb8dc81fde57bf6900b840e69f2b218fc (patch) | |
| tree | ff1c63e7962c6373199b94b8fd236b15e3441244 /packages/web/site/content/posts/nohup.md | |
| parent | ab58c69b6db2902688841a4008221f72bbbb8692 (diff) | |
| download | depot-fe96211bb8dc81fde57bf6900b840e69f2b218fc.tar.gz depot-fe96211bb8dc81fde57bf6900b840e69f2b218fc.tar.bz2 depot-fe96211bb8dc81fde57bf6900b840e69f2b218fc.zip | |
move packages to overlay and expose certain packages
Diffstat (limited to 'packages/web/site/content/posts/nohup.md')
| -rw-r--r-- | packages/web/site/content/posts/nohup.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/web/site/content/posts/nohup.md b/packages/web/site/content/posts/nohup.md new file mode 100644 index 0000000..64f7983 --- /dev/null +++ b/packages/web/site/content/posts/nohup.md @@ -0,0 +1,26 @@ +--- +title: "Spawning background processes" +date: "2024-11-17" +--- + +Working in a terminal, +I often pair my editor with a background process watching files. +Before reaching for terminal multiplexers, +see if you can get away with simple tty job control. +Spawn the background process, +still attached to the terminal instance: + +``` +program args & +``` + +Also redirect its output to a file, +for when the process writes to the tty from the background: + +``` +nohup program args & +``` + +Extra reading: + +- <https://jvns.ca/blog/2024/07/03/reasons-to-use-job-control/> |
