Added parsing to Pish()

This commit is contained in:
Samantha Boyer 2022-10-22 21:16:24 -05:00
parent cd7861dbce
commit c21e2fb7f6

View File

@ -32,6 +32,15 @@ void Pish(void)
while (1) while (1)
{ {
command = getInput(); command = getInput();
//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); IntegratedCheck(command);
retval = fork(); retval = fork();
// Child // Child