I am trying to run a program with a simple execlp command. Here is my code:
It keeps telling me bad address, but slaveA is in the same directory as this file. What am I doing wrong?Code:if(fork() == 0) { if(execlp("slaveA", "37206&") == -1) perror("execlp failed"); }