NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/57894: sh(1): PID obtained with jobs -p is always 0 on NetBSD 10.0 RC
>Number: 57894
>Category: bin
>Synopsis: sh(1): PID obtained with jobs -p is always 0 on NetBSD 10.0 RC
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 30 13:35:00 +0000 2024
>Originator: Koichi Nakashima
>Release: NetBSD 10.0_RC3
>Organization:
>Environment:
NetBSD vm-netbsd10-0.home 10.0_RC3 NetBSD 10.0_RC3 (GENERIC) #0: Tue Jan 16 08:28:51 UTC 2024 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
on NetBSD 10.0 RC3
$ sh -c 'sleep 3 & echo $!; jobs -l; jobs -p'
7975
[1] + 7975 Running sleep 3 &
0
on NetBSD 9.3
$ sh -c 'sleep 3 & echo $!; jobs -l; jobs -p'
573
[1] + 573 Running sleep 3 &
573
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index