Open dsherret opened 1 year ago
I dont think that's a good idea. It means the program would ignore PATH
which is not good. I think at the very least dax should require --allow-env=PATH
Agree that --allow-env=PATH is the way to go.
configuring PATH is complicated, eg. this is all the resolution necessary for a cross-compatible PATH, taken from Dorothy: https://github.com/bevry/dorothy/blob/master/commands/setup-environment-commands
Someone may be using this and not want to grant env var permissions (even though --allow-run is effectively --allow-all). It should still attempt to resolve commands in that scenario.