SANDBOX-EXEC(1) General Commands Manual SANDBOX-EXEC(1)

sandbox-execexecute within a sandbox (DEPRECATED)

sandbox-exec [-f profile-file] [-n profile-name] [-p profile-string] [-D key=value ...] command [arguments ...]

The sandbox-exec command is . Developers who wish to sandbox an app should instead adopt the App Sandbox feature described in the App Sandbox Design Guide. The sandbox-exec command enters a sandbox using a profile specified by the -f, -n, or -p option and executes command with arguments.

The options are as follows:

profile-file
Read the profile from the file named profile-file.
profile-name
Use the pre-defined profile profile-name.
profile-string
Specify the profile to be used on the command line.
key=value
Set the profile parameter key to value.

sandbox_init(3), sandbox(7), sandboxd(8)

March 9, 2017 Mac OS X