Added: Add labels for ExecutionCommand for termux internal commands

This commit is contained in:
agnostic-apollo
2021-08-21 03:41:29 +05:00
parent 486faf7fad
commit 19f4084099
2 changed files with 3 additions and 0 deletions

View File

@@ -260,6 +260,7 @@ public class TermuxFileUtils {
// Run script
ExecutionCommand executionCommand = new ExecutionCommand(1, "/system/bin/sh", null, statScript.toString() + "\n", "/", true, true);
executionCommand.commandLabel = TermuxConstants.TERMUX_APP_NAME + " Files Stat Command";
executionCommand.backgroundCustomLogLevel = Logger.LOG_LEVEL_OFF;
TermuxTask termuxTask = TermuxTask.execute(context, executionCommand, null, new TermuxShellEnvironmentClient(), true);
if (termuxTask == null || !executionCommand.isSuccessful()) {