feat: implemented pipes and redirects + background operator

This commit is contained in:
djaidjai committed 2024-03-16 23:07:19 +01:00
1 parent 6b9bedac3c
commit 7e6c1147db
10 files changed
+246 -74

No files matched your search

+3
View File
@@ -29,6 +29,8 @@ typedef struct CommandList {
typedef struct Chain {
CommandList commands;
bool runInBackground;
char *in;
char *out;
} Chain;
@@ -36,6 +38,7 @@ void freeCommand(Command cmd);
void freeChain(Chain chain);
Command buildCommand(List *lp);
void addRedirect(List *lp, Chain *chain);
Chain buildChain(List *lp);
void executeChain(Chain chain, int* status);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.