Open Anti-Distinctlyminty opened 10 months ago
Hello@Anti-Distinctlyminty , what shell are you using? Also, have you tried on Linux too?
I tested in PowerShell 7.3.9 and Command Prompt (both via Windows Terminal). We're not set up with Linux here right now so haven't tested it there.
There is a difference in behaviour between starting an environment with
rez-env
then issuing a command, and usingrez-env --
to run the same command.Environment
To Reproduce
rez-env p
then runp
, which will run thep_exe,cmd
in package p.rez-env p q
then once in the environment runp
. You should receive'p' is not recognized as an internal or external command, operable program or batch file.
. This is working correctly as packageq
has unset the macro.rez-env p q -- p
Expected behavior We should get the same output, as the macro should have been unset.
Actual behavior The macro (alias) is still set. So
p_exe.cmd
is run.packages.zip