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

Android 5.0上不起作用 #2

Open
t12x3456 opened this issue May 26, 2015 · 5 comments
Open

Android 5.0上不起作用 #2

t12x3456 opened this issue May 26, 2015 · 5 comments

Comments

@t12x3456
Copy link

目前在android 5.0上,若主进程被杀死,fork出来子进程无法进行操作,比如执行am命令.据推测应该是在android5.0上当主进程停止后,系统会把进程组的进程全部干掉,这种情况怎么处理?

@xingag
Copy link

xingag commented Jun 4, 2015

我也遇到这种问题,求解释方案

@alexwang3322
Copy link

有没有尝试将fork出来的进程的父进程变成init的系统进程,然后将用它来监听;

@qyzhaojinxi
Copy link

5.0以上怎么弄呢

@qyzhaojinxi
Copy link

好吧,那看来是没办法了啊

@Tforandroid
Copy link

已经不行了这种方式,高版本系统会把C 启动的子进程也给杀掉

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

6 participants
@qyzhaojinxi @xingag @t12x3456 @alexwang3322 @Tforandroid and others