mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:38:11 +00:00
Shell: Allow the heredoc node to act as a redirection too
This will be used in a future commit to implement POSIX sh heredocs.
This commit is contained in:
parent
9c61fed37c
commit
4efc632e15
4 changed files with 86 additions and 24 deletions
|
@ -2352,6 +2352,12 @@ void Shell::possibly_print_error() const
|
|||
case ShellError::LaunchError:
|
||||
warnln("Shell: {}", m_error_description);
|
||||
break;
|
||||
case ShellError::PipeFailure:
|
||||
warnln("Shell: pipe() failed for {}", m_error_description);
|
||||
break;
|
||||
case ShellError::WriteFailure:
|
||||
warnln("Shell: write() failed for {}", m_error_description);
|
||||
break;
|
||||
case ShellError::InternalControlFlowBreak:
|
||||
case ShellError::InternalControlFlowContinue:
|
||||
case ShellError::InternalControlFlowInterrupted:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue