mirror of
https://github.com/RGBCube/serenity
synced 2025-06-30 12:52:18 +00:00
parent
c6e79bd53a
commit
aee99b05a6
3 changed files with 72 additions and 37 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <AK/Vector.h>
|
||||
|
||||
struct Redirection {
|
||||
enum Type { Pipe, FileWrite, FileRead, Rewire };
|
||||
enum Type { Pipe, FileWrite, FileWriteAppend, FileRead, Rewire };
|
||||
Type type;
|
||||
int fd { -1 };
|
||||
int rewire_fd { -1 };
|
||||
|
@ -33,6 +33,7 @@ private:
|
|||
Free,
|
||||
InSingleQuotes,
|
||||
InDoubleQuotes,
|
||||
InWriteAppendOrRedirectionPath,
|
||||
InRedirectionPath,
|
||||
};
|
||||
State m_state { Free };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue