We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to run command libsupeuser library to access values after some actions are performed how can I do that?
Example:
private final Shell.Interactive su = new Shell.Builder().useSU().open(); su.addCommand("command", 0, (Shell.OnCommandResultListener2) (commandCode, exitCode, STDOUT, STDERR) -> { someBoolean = STDOUT.size() > 0; }); return someBoolean;
here value of someBoolean is returned before it is evaluated.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I want to run command libsupeuser library to access values after some actions are performed how can I do that?
Example:
here value of someBoolean is returned before it is evaluated.
The text was updated successfully, but these errors were encountered: