From 618c0c035d15c3af7158ab122141c017acd454f5 Mon Sep 17 00:00:00 2001 From: Jan Klass Date: Tue, 29 Apr 2025 18:41:17 +0200 Subject: [PATCH] In task module mention job command (nushell background jobs) (#1107) --- modules/background_task/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/background_task/README.md b/modules/background_task/README.md index 0ec06c9..a43bc36 100644 --- a/modules/background_task/README.md +++ b/modules/background_task/README.md @@ -2,6 +2,10 @@ Makes Nushell "support" background tasks. +Note: Nushell has [native background jobs](https://www.nushell.sh/book/background_jobs.html) support through the [`job`](https://www.nushell.sh/commands/docs/job.html) command. +The `task` commands introduced here spawn new and independent processes rather than background threads like `job`. +The `task` processes will keep running even when you exit the current Nushell process, the `job` background threads will not. + ## Prerequisite Install [pueue](https://github.com/Nukesor/pueue) and make sure `pueued` is running and that `pueue` is in `PATH`.