mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-07-31 14:17:45 +00:00
In task module mention job command (nushell background jobs) (#1107)
This commit is contained in:
parent
82aacd5d54
commit
618c0c035d
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
Makes Nushell "support" background tasks.
|
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
|
## Prerequisite
|
||||||
|
|
||||||
Install [pueue](https://github.com/Nukesor/pueue) and make sure `pueued` is running and that `pueue` is in `PATH`.
|
Install [pueue](https://github.com/Nukesor/pueue) and make sure `pueued` is running and that `pueue` is in `PATH`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue