ExecuteShellCommand

From Opale Wiki
Jump to navigation Jump to search

This command executes a child application or script locally on the Mobile Robot.

This command runs in blocking mode and returns only after completion.

COMMAND

Command Input Arguments Returns
ExecuteShellCommand CommandPath, CommandArgs Command Return

OUTPUT

Command status in the following format:

"%s\n", script_result

EXAMPLE

~# ExecuteShellCommand /mnt/sdcard/tmp/power_calculation.sh 5
25