1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-07-30 13:47:46 +00:00

In task module mention job command (nushell background jobs) (#1107)

This commit is contained in:
Jan Klass 2025-04-29 18:41:17 +02:00 committed by GitHub
parent 82aacd5d54
commit 618c0c035d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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`.