You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was originally reported in #1865 , but it looks like it got closed prematurely. The issue was reproducible in the upstream mvdan/sh interpreter (see mvdan/sh#1099) and was fixed at least as far as the simple case of directly invoking the interpreter goes. The issue still persists in Task, despite Task updating to the v3.10.0 release of Sh with the fix (#1874).
This first broke in Task v3.39.0, and is still broken in v3.40.1
Version
v3.40.1
Operating system
macOS
Experiments Enabled
No response
Example Taskfile
---
# yaml-language-server: $schema=https://taskfile.dev/schema.jsonversion: 3tasks:
test:
desc: Reproduce issuecmds:
- | echo hi $_ --version # Works
- | echo "hi pipe" | while read -r line; do echo "$line" done # Hangs
- | echo "hi file" > hi.txt while read -r line; do echo "$line" done < hi.txt echo "done"clean:
desc: Clean filescmds:
- | rm hi.txt
The text was updated successfully, but these errors were encountered:
Description
This was originally reported in #1865 , but it looks like it got closed prematurely. The issue was reproducible in the upstream mvdan/sh interpreter (see mvdan/sh#1099) and was fixed at least as far as the simple case of directly invoking the interpreter goes. The issue still persists in Task, despite Task updating to the v3.10.0 release of Sh with the fix (#1874).
This first broke in Task v3.39.0, and is still broken in v3.40.1
Version
v3.40.1
Operating system
macOS
Experiments Enabled
No response
Example Taskfile
The text was updated successfully, but these errors were encountered: