Gitiles
Code Review
Sign In
review.blissroms.org
/
platform_external_bash
/
cce855bc5b117cb7ae70064131120687bc69fac0
/
.
/
tests
/
jobs2.sub
blob: 496519b01bb2c0d0b82201a3a23a5d380d814551 [
file
] [
log
] [
blame
]
# make sure fg and bg don't work on jobs started without job control,
# even if they are executed when job control is active
set
+
o monitor
sleep
30
&
pid
=
$
!
set
-
m
fg
%
1
echo fg
:
$
?
exec
2
>
/dev/
null
kill
-
9
$pid