On Sat, Feb 18, 2006 at 06:17:18PM +0100, Divacky Roman wrote:
> execl("/bin/ls", NULL);
This is wrong. You must specify arg0 != NULL (POSIX says so) and you
must NULL-terminate the *following* list.
E.g.:
execl("/bin/ls", "/bin/ls", NULL);
is what you want to do.
Joerg