Thread
:
execv in unix prob.
View Single Post
Salem
Ambitious contributor
26Nov2007,17:23
Because a should be an array of pointers, not an array of arrays.
Code:
char *a[] = { "sample.sh", "one", "two", "three", NULL };