How to use execl?

You can check the execl’s man document like below. int execl(const char *path, const char *arg, … /* (char *) NULL */); The const char *arg and subsequent ellipses in the execl(), execlp(), and execle() functions can be thought of as arg0, arg1, …, argn. Together they describe a list of one or more pointers … Read more