// C program for Linux to spawn child process // Command line arguments: // Full Path to Executable egs. Linux ... `which ls` or /bin/ls // Usual Other Command Line Arguments relevant to executable above // #include #include #include #include #include #include #define MAX_LENGTH 501 int main(int argc,char** argv){ int status; char argvone[MAX_LENGTH] = ".\0"; pid_t pid; int i, k=0; if (argc > 1) { for (i=1; i