mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-19 09:51:16 -03:00
While at it, extract a function.
Seems to have regressed in 4.0.0 (fc47d9fa1d (Use strongly typed
`Pid` for job control, 2024-11-11)).
Fixes #11929
9 lines
225 B
Fish
9 lines
225 B
Fish
# RUN: %fish %s
|
|
|
|
disown 0
|
|
# CHECKERR: disown: '0' is not a valid process ID
|
|
disown -- -1
|
|
# CHECKERR: disown: '-1' is not a valid process ID
|
|
disown -- -(math 2 ^ 31)
|
|
# CHECKERR: disown: '-2147483648' is not a valid process ID
|