Lines Matching refs:command
161 * Executes "/system/bin/sh -c <command>" using the exec() system call.
165 * @param command The shell command to execute.
167 public static void execShell(String command) {
168 String[] args = { "/system/bin/sh", "-c", command };
179 * prefixed with a space, and appended to the command.
181 * @param command A string builder for the shell command being constructed.
182 * @param args An array of argument strings to be quoted and appended to the command.
185 public static void appendQuotedShellArgs(StringBuilder command, String[] args) {
187 command.append(" '").append(arg.replace("'", "'\\''")).append("'");