The documentation for Process.launch() (the equivalent of -[NSTask launch]) says it "raises an NSInvalidArgumentException if the launch path has not been set or is invalid or if it fails to create a process", and yet the function is not marked as "throws". So what happens if I call it from Swift and it encounters an error?
I'm thinking I should probably just call it from Objective-C to be safe. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com