Notes
This function is in beta test. Please help improve it in the issues
here.
pwd: /out/package ppid: 11970 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: 11970 SIGINT Send signal 2 to pid: 11970 Scan child pids of ppid: 11971 Send signal 2 to pid: 11971 Scan child pids of ppid: 11972 Send signal 2 to pid: 11972 Scan child pids of ppid: 11973 Send signal 2 to pid: 11973 Scan child pids of ppid: 11974 Send signal 2 to pid: 11974 Scan child pids of ppid: 11975 Send signal 2 to pid: 11975 Scan child pids of ppid: 11976 Send signal 2 to pid: 11976 Scan child pids of ppid: 11977 Send signal 2 to pid: 11977 Scan child pids of ppid: 11978 Send signal 2 to pid: 11978 Scan child pids of ppid: 11979 Send signal 2 to pid: 11979 Scan child pids of ppid: 11980 Send signal 2 to pid: 11980 Scan child pids of ppid: 11982 Send signal 2 to pid: 11982 3: CTRL+C Scan child pids of ppid: 11970 SIGINT Send signal 2 to pid: 11970 Scan child pids of ppid: 11971 Send signal 2 to pid: 11971 Scan
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 mumsh $ mumsh $ success mumsh $ mumsh $ exit ==11971==LeakSanitizer has encountered a fatal error. ==11971==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1 ==11971==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)
JOJ Answer
mumsh $ 123 mumsh $ mumsh $ success mumsh $ mumsh $ exit