mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 07:21:14 -03:00
Purge remnants of process expansion, document {fish,last}_pid
This commit is contained in:
@@ -8,11 +8,11 @@ $fish -c 'begin; exit 5; true; end'
|
||||
echo $status
|
||||
#CHECK: 5
|
||||
|
||||
$fish -c 'kill -SIGHUP %self'
|
||||
$fish -c 'kill -SIGHUP $fish_pid'
|
||||
echo $status
|
||||
#CHECK: 129
|
||||
|
||||
$fish -c 'function main; kill -SIGTERM %self; true; end; main'
|
||||
$fish -c 'function main; kill -SIGTERM $fish_pid; true; end; main'
|
||||
echo $status
|
||||
#CHECK: 143
|
||||
|
||||
|
||||
Reference in New Issue
Block a user