▲ | colejohnson66 5 days ago | ||||||||||||||||||||||||||||||||||||||||
What's "missing" is the ability to launch things the "Bash" way: `KEY=value ./myApp`. Where the variable is scoped to the single execution. Windows' command prompt requires two separate invocations:
PowerShell also:
Or more "verbosely/explicitly":
Regardless, all those methods aren't "scoped". | |||||||||||||||||||||||||||||||||||||||||
▲ | amonith 5 days ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||
eh `cmd /C "set KEY=value && ./myApp"` isn't that bad if you really need complete isolation. | |||||||||||||||||||||||||||||||||||||||||
|