---
title: currentDirectoryURL
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/process/currentdirectoryurl
---

# currentDirectoryURL

The current directory for the receiver.

## Declaration

```swift
var currentDirectoryURL: URL? { get set }
```

## See Also

### Configuring a process

- [arguments](foundation/process/arguments.md)
- [environment](foundation/process/environment.md)
- [executableURL](foundation/process/executableurl.md)
- [qualityOfService](foundation/process/qualityofservice.md)
- [standardError](foundation/process/standarderror.md)
- [standardInput](foundation/process/standardinput.md)
- [standardOutput](foundation/process/standardoutput.md)
