Question
· Dec 26, 2017

How to launch an external process and change the LD_LIBRARY_PATH for the child process

I could launch a external process via $zf(-2).

However, this child process need to refer some shared libraries in RUNTIME,so I have to set up the proper paths to the environment variable LD_LIBRARY_PATH, is anyone know how to do this?

Thank for your help.

Discussion (3)0
Log in or sign up to continue