this is a command interpreter, im trying to deal with piping the output of one command into the next, and all works cept slight problem. code, Code: //now execute command string process by process while(y < nprocs){ //the index into the command vector of the start of the next command/process x = cmd_indices[y++]; if( (cpid = fork()) == 0){ //child //check ...