Quote:
Originally Posted by NiLuJe
I need to check if it's JB friendly or not  .
----
@knc1: env PATH=... exec blah ?
(Yeah, I like env ;D ).
|
Maybe - at least it would in Bash.
This function
**should** be (and is in some OSs) named "chain".
It should just be replacing the current code and data sections of the program executing with that of the program executed.
I.E: Same environment, same open file descriptors (the current command file should be open on fd #3 or on fd #5), same-same everything else.
But this is an old version of Busybox ash -
All we can do is mess with it until we figure out how it **actually** works.