mamba-org / mamba

The Fast Cross-Platform Package Manager
https://mamba.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.53k stars 342 forks source link

fix: micromamba run when cwd does not exist #3336

Open pbrit opened 4 days ago

pbrit commented 4 days ago

micromamba doesn't check if the provided cwd exists. That leads to a very confusing behaviour:

micromamba run -n main --cwd bla true
Success

It exits with 1 exit code though, but it's not exactly clear why it prints Success.

Integration tests are provided.