mirror of
https://github.com/RGBCube/serenity
synced 2025-05-21 16:05:07 +00:00
Shell: Add redirections to the formatted command string
This commit is contained in:
parent
a46318d414
commit
384e872ff9
2 changed files with 45 additions and 7 deletions
|
@ -563,7 +563,7 @@ RefPtr<Job> Shell::run_command(const AST::Command& command)
|
|||
FileDescriptionCollector fds;
|
||||
|
||||
if (options.verbose)
|
||||
warnln("+ {}", m_pid, command);
|
||||
warnln("+ {}", command);
|
||||
|
||||
// If the command is empty, store the redirections and apply them to all later commands.
|
||||
if (command.argv.is_empty() && !command.should_immediately_execute_next) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue