โ๏ธ Execution Tools
Utilities for executing files and processes.
runโ
Runs a file and saves the result in a variable.
Argument | Description |
---|---|
VAR | Variable for result |
FILE | File to run |
ARG | Arguments (multiple allowed) |
run log1 "$TMP/busybox" chmod --help
run_waitโ
Limits execution time of an action.
Argument | Description |
---|---|
TIME | Time limit in seconds |
ACTION | Action to run |
ARG | Arguments (multiple allowed) |
run_wait 5 run log1 "$TMP/busybox" echo HUH
warning
Experimental feature.
run_jarโ
Runs a DEXed JAR file using the Android Dalvik VM.
Argument | Description |
---|---|
JAR | JAR file |
ARG | Arguments (multiple allowed) |
run_jar "$TMP/apktool.jar" --help
note
Requires Dalvik VM; not all JARs work.
run_jar_classโ
Runs a specific class in a DEXed JAR file.
Argument | Description |
---|---|
JAR | JAR file |
CLASS | Class to run |
ARG | Arguments (multiple allowed) |
run_jar_class "$TMP/apktool.jar" "brut.apktool.Main" --help