Fixed pipe operator breaking output. Nothing actually pipes yet

This commit is contained in:
2022-10-29 05:37:29 -05:00
parent b33abaf517
commit a0d601f1e3
4 changed files with 46 additions and 29 deletions
+1 -1
View File
@@ -5,6 +5,7 @@
void CheckRedirection(CommandStruct* command);
int CheckSymbol(CommandStruct* command, char symbol, int start);
int CountSymbol(CommandStruct* command, char symbol);
int IntegratedCheck(CommandStruct* command);
void GetInput(char* inputString);
void append(char *input, char *file);
@@ -13,6 +14,5 @@ int ExecPipe(CommandStruct* commandParent, CommandStruct* commandChild, int* pip
void output(char *command);
void SplitInput(char* inputString, CommandStruct* command);
void ParseInput(char* inputString, CommandStruct* command, char* symbol);
void RunChild(CommandStruct* commandChild, int* pipefd);
void ioRedirection(CommandStruct* command);
#endif
+1
View File
@@ -5,5 +5,6 @@
void Pish(void);
void ReadPishrc(CommandStruct* commandParent, CommandStruct *commandChild, char* inputString);
void RunChild(CommandStruct* commandChild, int* pipefd);
#endif