1 #include <unistd.h> 2 int main(int argc, const char *argv[]) 3 { 4 char* p[]={"udp-sender",NULL}; 5 if(execvp("/usr/local/sbin/udp-sender",p)<0) 6 perror(); 7 return 0; 8 }