so i have an array with the following:
array[0][0] = command arg1 arg2 arg3
array[1][0] = command
array[2][0] = command arg1 arg2 arg3 arg4
etc
I want to use execvp to execute each of these lines of commands,
eg.
execvp(array[0],array);
How could i, within a while loop (so i can get through every row), use fork, so that the child could complete every row of command. Would it be better for me to put my arguments in one array and my arguments in another?