execInApp

Use the Execute In App tool to execute a process in a running app's sandbox.

The executed process will inherit the terminal's environment variables and file descriptors. The executable and all required libraries, resources, etc. must already be in the app's sandbox before the executed process can be started.

Usage

execInApp appname [OPTIONS] execPath [ARGS]

appName 

Name of the running app where the process should start (can't start with dash - ).

[OPTIONS] 
--procName=NAME 

Gives the executed process the name NAME. If not specified, will be the name of the executable file.

--priority=PRIORITY 

Sets the process priority, either: idle, low, medium, high, rt1, rt2, through to rt32.

--help 

Displays help and exits.

execPath 

Path in the sandbox to the file that will be executed (can't start with dash - ).

[ARGS] 

List of arguments to be passed to the executed process.