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
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:
version: "3" tasks: embedded-hang: cmds: - cmd: | set -x while read -r line; do echo "$line" done < <(echo "hi file substitution") echo done use-script: cmds: - cmd: | cat <<EOF> read.sh #!/bin/bash set -x while read -r line; do echo "$line" done < <(echo "hi file substitution") echo done EOF chmod +x read.sh ./read.sh
Hangs when using gosh:
❯ task embedded-hang task: [embedded-hang] set -x while read -r line; do echo "$line" done < <(echo "hi file substitution") echo done + echo 'hi file substitution' + read '-r line' + echo 'hi file substitution' hi file substitution + read '-r line' ^Ctask: Signal received: "interrupt" ^Ctask: Signal received: "interrupt" ^Ctask: Signal received for the third time: "interrupt". Forcing shutdown /private/tmp/task took 4s
Sanity check, writing same script to disk and running it directly works as expected
❯ task use-script task: [use-script] cat <<EOF> read.sh #!/bin/bash set -x while read -r line; do echo "$line" done < <(echo "hi file substitution") echo done EOF chmod +x read.sh ./read.sh + read -r line ++ echo 'hi file substitution' + echo '' + read -r line + echo done done
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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: