---
title: launchPath
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/process/launchpath
---

# launchPath

Sets the receiver’s executable.

## Declaration

```swift
var launchPath: String? { get set }
```

## Parameters

- `path`: The path to the executable.

## See Also

### Deprecated

- [launchedProcess(launchPath:arguments:)](foundation/process/launchedprocess(launchpath:arguments:).md)
- [currentDirectoryPath](foundation/process/currentdirectorypath.md)
- [launch()](foundation/process/launch().md)
