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

how stop minicap #59

Closed
bbdabing opened this issue Mar 11, 2017 · 4 comments
Closed

how stop minicap #59

bbdabing opened this issue Mar 11, 2017 · 4 comments

Comments

@bbdabing
Copy link

how stop minicap

@sorccu
Copy link
Member

sorccu commented Mar 11, 2017

Kill it. It shows you the pid, you can use that.

@sorccu sorccu closed this as completed Mar 11, 2017
@bbdabing
Copy link
Author

but when i execute LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -P 1440x2560@144x256/0 like this,i can't receive the output, execute LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -P 1440x2560@1440x2560/0 can get the pid ,why!

@bbdabing
Copy link
Author

String output = executeShellCommand(startCommand);
if( output!=null ) {
String[] outputLineArr = output.split("\r");
if( outputLineArr!=null && outputLineArr.length>0 ) {
for(int i=0;i<outputLineArr.length;i++) {
if( outputLineArr[i].indexOf("PID: ")>=0 ) {
MINICAP_START_processId = outputLineArr[i].replace("PID: ", "");
//break;
}
}
}
}

@sorccu
Copy link
Member

sorccu commented Mar 11, 2017

Maybe it's too small and the system refuses it. Try a larger size.

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