Spec-Zone.ru › Nushell

job id for experimental

Get id of current job.

Signature

> job id {flags}

Input/output types:

input output
nothing int

Examples

Get id of current job.

> job id

Notes

This command returns the job id for the current background job. The special id 0 indicates that this command was not called from a background job thread, and was instead spawned by main nushell execution thread.

Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/job_id.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API