Executes a shell command as root and returns its output. FonBot waits for the command to finish, therefore this must not be used with long-running commands. This requires root access.\n
Example: rootsh stop;sleep 3;start
</string>
+ <string name="command_not_documented">This command is not documented (yet).</string>
</resources>
case TORCH:
Utils.sendMessage(context, replyTo, torch_help);
break;
+ case GETFILE:
+ Utils.sendMessage(context, replyTo, getfile_help);
+ break;
case SH:
Utils.sendMessage(context, replyTo, sh_help);
break;
case ROOTSH:
Utils.sendMessage(context, replyTo, rootsh_help);
break;
+ default:
+ Utils.sendMessage(context, replyTo, command_not_documented);
}
}