mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
045c85af4b
...while capturing its standard output. As `$()` is an invalid construct, execute nodes are not supposed to capture the output of no command being run; but it is possible to create empty commands such as CastToCommand(Redirection(...)) or similar. Make this a hard error instead of an unescapable select(). This was noticed in #10432, which should now error out like so: ``` Error: Cannot capture standard output when no command is being executed 0| $(<$file) ~~~~~^^^^^^^^^ 1| ``` |
||
---|---|---|
.. | ||
Tests | ||
AST.cpp | ||
AST.h | ||
Builtin.cpp | ||
CMakeLists.txt | ||
Execution.h | ||
Formatter.cpp | ||
Formatter.h | ||
Forward.h | ||
ImmediateFunctions.cpp | ||
Job.cpp | ||
Job.h | ||
main.cpp | ||
NodeVisitor.cpp | ||
NodeVisitor.h | ||
Parser.cpp | ||
Parser.h | ||
Shell.cpp | ||
Shell.h | ||
SyntaxHighlighter.cpp | ||
SyntaxHighlighter.h |