---
title: arguments
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsworkspace/openconfiguration/arguments
---

# arguments

The set of command-line arguments to pass to a new app instance at launch time.

## Declaration

```swift
var arguments: [String] { get set }
```

## Discussion

Discussion The default value of this property is an empty array. When launching a new instance of an app, use this property to specify any additional launch arguments. The system inserts the app’s path as the first element in the array. If the calling process is sandboxed, the system ignores the value of this property.

## See Also

### Specifying launch attributes

- [appleEvent](appkit/nsworkspace/openconfiguration/appleevent.md)
- [environment](appkit/nsworkspace/openconfiguration/environment.md)
- [architecture](appkit/nsworkspace/openconfiguration/architecture.md)
