It may be what you are looking for ...
(lldb) help platform shell
Run a shell command on a the selected platform. This command takes 'raw'
input (no need to quote stuff).
Syntax: platform shell <shell-command>
Command Options Usage:
platform shell [-t <value>]
-t <value> (
Seconds to wait for the remote host to finish running the command.
IMPORTANT NOTE: Because this command takes 'raw' input, if you use any
command options you must use ' -- ' between the end of the command options
and the beginning of the raw input.
source
share