Notes
This function is in beta test. Please help improve it in the issues
here.
pwd: /out/package ppid: 1706 1: WRITELN sleep 10 2: CTRL+C Scan child pids of ppid: 1706 SIGINT Send signal 2 to pid: 1706 Scan child pids of ppid: 1707 Send signal 2 to pid: 1707 Scan child pids of ppid: 1708 Send signal 2 to pid: 1708 Scan child pids of ppid: 1709 Send signal 2 to pid: 1709 3: WRITELN echo success 4: CTRL+C Scan child pids of ppid: 1706 SIGINT Send signal 2 to pid: 1706 Scan child pids of ppid: 1707 Send signal 2 to pid: 1707 Scan child pids of ppid: 1713 Send signal 2 to pid: 1713 Scan child pids of ppid: 1709 Send signal 2 to pid: 1709 Scan child pids of ppid: 1710 Send signal 2 to pid: 1710 Scan child pids of ppid: 1711 Send signal 2 to pid: 1711 Scan child pids of ppid: 1712 Send signal 2 to pid: 1712 Scan child pids of ppid: 1714 Send signal 2 to pid: 1714 5: WRITELN exit
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
mumsh $ mumsh $ mumsh $ success mumsh $ exit
JOJ Answer
mumsh $ mumsh $ success mumsh $ mumsh $ exit