I have some scripts and some commands in the scripts are like this
./executable arg1 arg2 .. argn
I want to change the above command to
LD_PRELOAD=/some/lib ./executable my_arg1 my_argn arg1 arg2 argn; some_other_command
One way to change the scripts, but I don't want to do that, instead I want to intercept those commands, change those commands and run them. How can I do that?
Aucun commentaire:
Enregistrer un commentaire