ladybird/Userland/Shell
Ali Mohammad Pur 783e27f8f9 Shell: Make redirection errors raise ShellErrors
Naturally, this means that a command with a failing redirection will
not start, and so will terminate the pipeline (if any).
This also applies to the `exit` run when the shell is closed, fixing a
fun bug there as well (thanks to Discord user Salanty for pointing that
out) where closing the terminal (i.e. I/O error on the tty) with a
failing `exit` command would make the shell retry executing `exit` every
time, leading to an eventual stack overflow.
2021-12-31 02:19:45 +03:30
..
Tests Shell: Remove sigpipe.sh.out artefact after failure 2021-12-13 16:20:29 +03:30
AST.cpp Shell: Make the Join operation respect nodes that have a next chain 2021-12-13 16:26:10 +03:30
AST.h AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
Builtin.cpp Shell: Make redirection errors raise ShellErrors 2021-12-31 02:19:45 +03:30
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Execution.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Formatter.cpp Shell: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
Formatter.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Forward.h Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
ImmediateFunctions.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Job.cpp Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
Job.h Shell: Hide job times behind SHELL_JOB_DEBUG flag 2021-05-21 12:05:34 +04:30
main.cpp Shell: Remove dbgln related to process group IDs 2021-08-12 22:42:50 +02:00
NodeVisitor.cpp Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
NodeVisitor.h Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
Parser.cpp Shell: Don't skip over the first brace expansion entry if it's empty 2021-12-16 03:26:59 +03:30
Parser.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Shell.cpp Shell: Make redirection errors raise ShellErrors 2021-12-31 02:19:45 +03:30
Shell.h Shell: Make redirection errors raise ShellErrors 2021-12-31 02:19:45 +03:30
SyntaxHighlighter.cpp LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
SyntaxHighlighter.h LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30