How to print current directory using Process in macOS

Issue #175

1
2
3
let process = Process()
process.launchPath = "/bin/pwd"
process.arguments = []

Should be the same as FileManager.default.currentDirectoryPath

Comments