busybox-w32 icon indicating copy to clipboard operation
busybox-w32 copied to clipboard

Issues with env -i

Open ale5000-git opened this issue 8 months ago • 8 comments

I'm not sure if I'm doing something wrong but this fail: env -i ./mytest.bat

The error is: env: can't execute './mytest.bat': Invalid argument

The content of ./mytest.bat file is just echo "Abc".


Also when using env -i a default PATH var is reestablished but this PATH var is not exported, is it supposed to be like this?

ale5000-git avatar Jun 19 '24 16:06 ale5000-git