Checks
Reproducible example
With a pixi task such as
clean = { cmd = "rm -rf **/*.egg-info **/dist" }
$ pixi run clean
✨ Pixi task (clean in default): rm -rf **/*.egg-info **/dist:
glob: no matches found '/home/.../python_project_template/**/*.egg-info'
even if **/dist does return a match, it will not be deleted because it failed on **/*.egg-info
Issue description
-f flag for rm does not behave consistently with GNU Bash for example.
-f, --force
ignore nonexistent files, never prompt
Expected behavior
rm -rf non-existent-file-or-folder
should proceed silently and without failure if file/folder not found.
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
With a pixi task such as
clean = { cmd = "rm -rf **/*.egg-info **/dist" }even if
**/distdoes return a match, it will not be deleted because it failed on**/*.egg-infoIssue description
-fflag forrmdoes not behave consistently with GNU Bash for example.Expected behavior
rm -rf non-existent-file-or-foldershould proceed silently and without failure if file/folder not found.