-
Notifications
You must be signed in to change notification settings - Fork 195
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
“swift ./-” does the same as “swift -” #1541
Comments
To solve this issue, try running swift run ./- It works for me when I try this. |
@sananthanarayan I get |
I have also tried with zero f these 2 commands, both work for me. Do they work for you?
|
or with the swift run command try this modified version of that: swift run -- ./- |
Seems like a driver issue, |
Description
swift ./-
should try and read the file named-
in the current folder. Instead it reads from stdin, just likeswift -
.Reproduction
-
in your cwd;swift ./-
Expected behavior
Swift should execute the file just created.
Environment
swift-driver version: 1.87.3 Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
Target: arm64-apple-macosx14.0
Additional information
No response
The text was updated successfully, but these errors were encountered: