bug(cli): extra command with task hangs stdout on "activating environment"
Author: jgray1996Created Sep 25, 2026Updated Oct 1, 2026
Labelsbugcli
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
Commands I ran and their output:
✨ Pixi task (pipeline): snakemake --sdm apptainer --use-conda -j 16 --rerun-incomplete --apptainer-args "--bind /share"
--configfile config.yml
⠁ activating environmentthe command wil be run on the background, however does not produce any of the tool stdout.
pixi.toml/pyproject.toml file that reproduces my issue:
[workspace]
authors = ["J. Gray <[email protected]>"]
channels = ["conda-forge", "bioconda"]
name = "bioinformatica_pipelines_smart3-seq"
platforms = ["linux-64"]
version = "0.1.0"
[activation]
scripts = ["set_env.sh"]
[tasks]
pipeline = """
snakemake \
--sdm apptainer \
--use-conda \
-j 16 \
--rerun-incomplete \
--apptainer-args \
"--bind /share"
"""
test = """
snakemake \
--sdm apptainer \
--use-conda \
-j 16 \
--rerun-incomplete \
--apptainer-args \
"--bind /share"
--configfile config-files/example_config.yml
"""
graph = """
snakemake \
--rulegraph \
--use-conda \
--configfile \
config-files/config.yml | dot -Tpng > graph/rule-graph.png
"""
dry = """
snakemake \
-j 1 \
-n \
"""
[dependencies]
snakemake = ">=9.27.0,<10"
apptainer = ">=1.5.4,<2"
pixi info output:
(base) grayj@upzkh1080 ~ $ > pixi info
System
------------
Pixi version: 0.59.0
Platform: linux-64
Virtual packages: __unix=0=0
: __linux=5.14.0=0
: __glibc=2.34=0
: __archspec=1=skylake_avx512
Cache dir: /home/grayj/.cache/rattler/cache
Auth storage: /home/grayj/.rattler/credentials.json
Config locations: /home/grayj/.pixi/config.toml
Global
------------
Bin dir: /home/grayj/.pixi/bin
Environment dir: /home/grayj/.pixi/envs
Manifest dir: /home/grayj/.pixi/manifests/pixi-global.toml
Other files (e.g. script files, source files, etc.):
Issue description
No response
Expected behavior
I expect the environment activation screen of pixi go away after it has been loaded and the tools are running correctly.
Source: prefix-dev/pixi