diff --git a/src/Pish.c b/src/Pish.c index 9241d98..e2cb4d1 100644 --- a/src/Pish.c +++ b/src/Pish.c @@ -32,7 +32,16 @@ void Pish(void) while (1) { command = getInput(); - IntegratedCheck(command); + //Parse command + char* token = strtok(command, " "); + while(token != NULL) + { + //This only holds 1 command at a time then it overrides + //Will need modified + token = strtok(NULL, " "); + } + + IntegratedCheck(command); retval = fork(); // Child if (retval == 0)