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
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using pixi --version.
pixi --version
$ cat pixi.toml [project] name = "noname" platforms = ["linux-64"] channels = ["conda-forge"] [tasks] with = { cmd = "/usr/bin/env | grep '?'", env = { ARGUMENT = "hello" } } without = { cmd = "/usr/bin/env | grep '?'" } $ pixi run without ✨ Pixi task (without): /usr/bin/env | grep '?' $ pixi run with ✨ Pixi task (with): /usr/bin/env | grep '?' ?=0
Setting an environment variable on the task level also sets the environment variable ?. This breaks tools such as automake.
?
Only the environment variables specified in the env should be set.
env
The text was updated successfully, but these errors were encountered:
This also happens when putting an && into the command:
&&
[project] name = "noname" platforms = ["linux-64"] channels = ["conda-forge"] [tasks] with = { cmd = "/bin/true && /usr/bin/env | grep '?'" } without = { cmd = "/usr/bin/env | grep '?'" }
Sorry, something went wrong.
No branches or pull requests
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
Issue description
Setting an environment variable on the task level also sets the environment variable
?
. This breaks tools such as automake.Expected behavior
Only the environment variables specified in the
env
should be set.The text was updated successfully, but these errors were encountered: