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
Reproduce with the following steps:
mkdir ~/tmpdir ln -s ~/tmpdir ~/tmplink cd ~/tmplink pwd -P # => /Users/<user>/tmpdir
Using the following Taskfile:
version: "3" tasks: default: cmds: - pwd -P
Output is:
task: [default] pwd -P /Users/<user>/tmplink
The text was updated successfully, but these errors were encountered:
Interestingly, changing the command to sh -c 'pwd -P' seems to work as expected!
sh -c 'pwd -P'
Sorry, something went wrong.
Hi @amancevice,
This seems like a bug on the shell interpreter library Task uses: https://github.com/mvdan/sh
sh -c 'pwd -P' works because sh -c bypasses the library and runs the command in the system's shell.
sh -c
Would you mind opening an issue there explaining the problem?
Successfully merging a pull request may close this issue.
Example Taskfile showing the issue
Reproduce with the following steps:
Using the following Taskfile:
Output is:
The text was updated successfully, but these errors were encountered: