-
-
Notifications
You must be signed in to change notification settings - Fork 625
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
mvdan.cc/sh/v3 v3.9.0 breaks reading from file redirection #1865
Comments
A fix for this was just committed to mvdan/sh (see linked issue in upstream). He said he'll cut a new release in the next couple days most likely, so it's probably worth waiting for that release. |
I'll update this dependency as soon as it's released. |
Looks like 3.10.0 which includes the fix has dropped https://github.com/mvdan/sh/releases/tag/v3.10.0 |
mvdan/sh has been updated with the latest version, It'll be available in the next release :) |
for me with go-task 3.40.1, the problem still exists?
|
For me the issue still exists after upgrading to My work around for now to make in work with versions > cat $file | while read -r line; do echo $line; done instead of while read -r line; do echo $line; done < $file I'm confused since it seems to be fixed in the dependency (mvdan/sh@f3c9101). Anyone else still having this issue? |
Problem: Running into mvdan/sh#1099, see https://github.com/go-task/task/blob/v3.39.2/go.mod#L26
Request: mvdan/sh should be downgraded to 3.8.0
Example taskfile:
Hangs when using gosh:
Sanity check, writing same script to disk and running it directly works as expected
The text was updated successfully, but these errors were encountered: