监听可执行进程 按照这个思路 shell 1 echo $$ shell 2 stackplz -p pid shell 1 ./foo 如果foo里写了这样的代码 If (fork()>0){ exit(0); } 就无法监听到后续子进程的内容了怎么办