Fixed pipe operator breaking output. Nothing actually pipes yet
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -5,5 +5,6 @@
|
||||
|
||||
void Pish(void);
|
||||
void ReadPishrc(CommandStruct* commandParent, CommandStruct *commandChild, char* inputString);
|
||||
void RunChild(CommandStruct* commandChild, int* pipefd);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user