-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
error: The operation couldn’t be completed. (NSPOSIXErrorDomain.13) #191
Comments
how'd you install swift sh? |
|
Thanks for the report, I really don’t have time to debug this and nothing comes to mind. It could be Swift 5.7 doesn't work. /cc @wti |
Your script works for me on Intel macOS 13.1 with Swift 5.7.1 installed via homebrew. I also tried To isolate and make a reproducible case, you could start by cloning the project and running the tests
|
Well this is kind of crazy, but it seems to be a side effect of the directory I was running it from. I did the following:
So I'll keep playing around to see if the problem arises again. If getting to the bottom of this is something you want to pursue, I'm happy to run additional tests. |
K this is a bug in that the CWD shouldn't cause failure. |
I consistently get this trying to run even a trivial script like the following. Running it without the
sh
works fine.swift-sh 2.4.0
is installed. I'm running Swift 5.7.2 on a M1 Mac with macOS 12.6.1. Not really sure how to troubleshoot further.The text was updated successfully, but these errors were encountered: