1.1 moko 1: #!/bin/sh 2: echo $$ >hang.pid 1.2 ! moko 3: sleep 5 & 1.1 moko 4: echo $! >hang-child.pid 5: wait