Notes
This function is in beta test. Please help improve it in the issues
here.
pwd: /out/package ppid: 23760 1: WRITELN sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | echo 123 2: CTRL+C Scan child pids of ppid: 23760 SIGINT Send signal 2 to pid: 23760 Scan child pids of ppid: 23761 Send signal 2 to pid: 23761 Scan child pids of ppid: 23762 Send signal 2 to pid: 23762 Scan child pids of ppid: 23763 Send signal 2 to pid: 23763 3: CTRL+C Scan child pids of ppid: 23760 SIGINT Send signal 2 to pid: 23760 Scan child pids of ppid: 23761 Send signal 2 to pid: 23761 Scan child pids of ppid: 23766 Send signal 2 to pid: 23766 Scan child pids of ppid: 23763 Send signal 2 to pid: 23763 Scan child pids of ppid: 23764 Send signal 2 to pid: 23764 Scan child pids of ppid: 23765 Send signal 2 to pid: 23765 Scan child pids of ppid: 23767 Send signal 2 to pid: 23767 Scan child pids of ppid: 23768 Send signal 2 to pid: 23768 4: WRITELN echo success 5: CTRL+C Scan child pids of ppid: 23760 SIGINT Send signal 2 to pid: 23760 Scan child pids o
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Time Exceeded.
Please double check your code to solve this problem and try again.
Your Answer
fgets: sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | echo 123 mumsh $
JOJ Answer
mumsh $ 123 mumsh $ mumsh $ success mumsh $ mumsh $ exit