-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Modernize code to not rely on deprecations and old behavior #3095
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
cc: @etcwilde |
@swift-ci please test and merge |
99647c0
to
31edb2d
Compare
@millenomi Could you please try the command again |
ab6732a
to
bfbc332
Compare
@swift-ci please test |
Thank you |
4f3197b
to
d49c2ba
Compare
@swift-ci please test |
e8ac454
to
df8671a
Compare
f9b0e8c
to
7b5a16e
Compare
@millenomi Can we try again? |
02c23cf
to
022c199
Compare
cf0138f
to
3f0e844
Compare
@parkera @millenomi @etcwilde could we please test and merge |
@Kyle-Ye fixed! |
Closing older PRs after re-core of swift-corelibs-foundation on swift-foundation (#5001). |
Co-Authored-By: Kyle <[email protected]>
@@ -1149,7 +1149,11 @@ open class Process: NSObject, @unchecked Sendable { | |||
// convenience; create and launch | |||
open class func launchedProcess(launchPath path: String, arguments: [String]) -> Process { | |||
let process = Process() | |||
process.launchPath = path | |||
if #available(macOS 10.13, *) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With our new approach to swift-corelibs-foundation, it no longer builds for macOS. So, I think in the end this ifdef is not required - we can just always use the URL version.
Use executableURL instead of launchPath