busybox: implement env -S
inspired by !44251 (merged)
new gjs recommendations for writing modules is to use javascript esm modules, which require gjs to be invoked with -m
. as such, most shebangs for gjs scripts are probably now going to become #!/usr/bin/env -S gjs -m
(because otherwise it's impossible to pass an argument to the invoked command).
i expect more gjs applications to do the same in the future. it is not impossible to patch every single one, but obviously that is bad (and unupstreamable). so, rather than having gjs depend on coreutils for just env -S
, it would be nice to implement that in busybox env.