I've made some programs with the pigpio library, all of them are working well, but when I try to run 2 at the same time I get this error (For the second one).
initInitialise: Can't lock /var/run/pigpio.pid.
I know that the first one is acting like a daemon and that’s the problem, how do I have to start de second one to avoid this problem?