···11Asynchronous jobs are tricky. For now, we disable them behind a flag in [set].
2233- $ osh -c "echo hello &"
33+ $ msh -c "echo hello &"
44 You are using asynchronous operators and [set -o async] has not been called.
55 [1]
6677But we do have some support for them.
8899- $ cat > osh.sh << EOF
99+ $ cat > msh.sh << EOF
1010 > set -o async
1111 > sleep 10000 & echo hello
1212 > kill -9 \$!
···19192020 $ sh test.sh
2121 hello
2222- $ osh osh.sh
2222+ $ msh msh.sh
2323 hello