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,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)