Notes
This function is in beta test. Please help improve it in the issues
here.
pwd: /out/package ppid: 116405 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: 116405 SIGINT Send signal 2 to pid: 116405 Scan child pids of ppid: 116406 Send signal 2 to pid: 116406 Scan child pids of ppid: 116417 Send signal 2 to pid: 116417 3: CTRL+C Scan child pids of ppid: 116405 SIGINT Send signal 2 to pid: 116405 Scan child pids of ppid: 116406 Send signal 2 to pid: 116406 Scan child pids of ppid: 116417 Send signal 2 to pid: 116417 Scan child pids of ppid: 116418 Send signal 2 to pid: 116418 Scan child pids of ppid: 116419 Send signal 2 to pid: 116419 Scan child pids of ppid: 116420 Send signal 2 to pid: 116420 4: WRITELN echo success 5: CTRL+C Scan child pids of ppid: 116405 SIGINT Send signal 2 to pid: 116405 Scan child pids of ppid: 116406 Send signal 2 to pid: 116406 Scan child pids of ppid: 116417 Send signal 2 to pid: 116417 Scan child pids of ppid: 116418 Send signal 2 to pi
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 $ 123
JOJ Answer
mumsh $ 123 mumsh $ mumsh $ success mumsh $ mumsh $ exit