Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教 #68

Open
enenH opened this issue Dec 13, 2024 · 4 comments
Open

请教 #68

enenH opened this issue Dec 13, 2024 · 4 comments

Comments

@enenH
Copy link

enenH commented Dec 13, 2024

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

@lixioaolong
Copy link

现在已经无法通过fork进行保活了

@enenH
Copy link
Author

enenH commented Dec 16, 2024

我只想监听 和保活有啥关系

@lixioaolong
Copy link

lixioaolong commented Dec 17, 2024 via email

@enenH
Copy link
Author

enenH commented Dec 17, 2024

什么玩意儿,试过了,fork出来的进程变成孤儿进程了而已

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants