> ## Documentation Index
> Fetch the complete documentation index at: https://docs.specterops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# launchapp

> This uses the Objective C bridge to launch the specified app asynchronously and 'hidden' (it'll still show up in the dock for now). An example of the bundle name is 'com.apple.itunes' for launching...

## Summary

This uses the Objective C bridge to launch the specified app asynchronously and 'hidden' (it'll still show up in the dock for now). An example of the bundle name is 'com.apple.itunes' for launching iTunes.

* Needs Admin: False
* Version: 1
* Author: @its\_a\_feature\_

### Arguments

#### bundle

* Description: The Bundle name to launch
* Required Value: True
* Default Value: None

## Usage

```
launchapp {bundle name}
```

## Detailed Summary

This uses a single ObjC Bridge call to execute the bundle:

```javascript theme={null}
ObjC.import('AppKit');
$.NSWorkspace.sharedWorkspace.launchAppWithBundleIdentifierOptionsAdditionalEventParamDescriptorLaunchIdentifier(
  command_params['bundle'],
  $.NSWorkspaceLaunchAsync | $.NSWorkspaceLaunchAndHide | $.NSWorkspaceLaunchWithoutAddingToRecents,
  $.NSAppleEventDescriptor.nullDescriptor,
  null
);
```
