2 ms·
Swift 5.2: Run external program from your SwiftUI application on macOS
- ken 6y agoThe title isn't quite accurate. This isn't about SwiftUI at all, or even Cocoa. It's simply how to launch a process with Foundation. While it's true the new property executableURL isn't documented, the old launchPath was marked as deprecated for 10.13, and the Foundation 10.13 release notes do mention this change.