We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Attachment: Download
md5: 2a5c53d5eaaf88de193a0076bd76fffb
Issue Description:
the following program should print OK:
OK
import Foundation let p = Process() #if os(Linux) p.executableURL = URL(fileURLWithPath: "/bin/true") #else p.executableURL = URL(fileURLWithPath: "/usr/bin/true") #endif try! p.run() p.waitUntilExit() do { try p.run() print("ERROR: run ran again!") } catch { print("OK") } p.waitUntilExit()
because the second call to run must fail. But it doesn't on Linux (5.0.3):
run
$ swift repro.swift # Darwin OK $ jw-docker-swift-5.0 swift repro.swift # Linux ERROR: run ran again!
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
#2526
Fix in swift-DEVELOPMENT-SNAPSHOT-2019-11-12-a-ubuntu18.04
$ ~/swift-DEVELOPMENT-SNAPSHOT-2019-11-12-a-ubuntu18.04/usr/bin/swift sr-11408.swift OK
spevans
No branches or pull requests
Attachment: Download
Additional Detail from JIRA
md5: 2a5c53d5eaaf88de193a0076bd76fffb
Issue Description:
the following program should print
OK
:because the second call to
run
must fail. But it doesn't on Linux (5.0.3):The text was updated successfully, but these errors were encountered: