Large commit: Added reset function for CommandStruct, added reading from ~/.pishrc, and fixed running command in fork
This commit is contained in:
@@ -6,4 +6,6 @@ typedef struct CommandStruct {
|
||||
int argc;
|
||||
} CommandStruct;
|
||||
|
||||
void ResetCommandStruct(CommandStruct* command);
|
||||
|
||||
#endif
|
||||
@@ -4,5 +4,6 @@
|
||||
#include "Common.h"
|
||||
|
||||
void IntegratedCheck(char* command);
|
||||
void ReadPishrc(void);
|
||||
|
||||
#endif
|
||||
@@ -4,7 +4,6 @@
|
||||
#include "Common.h"
|
||||
|
||||
void Pish(void);
|
||||
void Execute(char* command);
|
||||
void GetInput(char* inputString);
|
||||
void ParseInput(char* inputString, CommandStruct* command);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user