from execlp man-page: The first argument, by convention, should point to the file name asso- ciated with the file being executed. The list of arguments must be terminated by a NULL pointer, and, since these are variadic functions, this pointer must be cast (char *) NULL. I guess this should give you...