I have a binary
b which tries to open
./a. Multiple instances of
b run concurrently inside the same directory, but each instance should open a different version of
./a. How can I run
b so that when it tries to open
./a it will actually open
I tried wrapping
b in a script that
some/other/dir before executing
b, but this solution is not possible.
I also thought about creating a hook which redirects the
open() system-call but would prefer something simpler.