mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +00:00
Shell: Mark And and Or nodes as execute nodes
This commit is contained in:
parent
3a37e8c56f
commit
d2bdbc3e77
3 changed files with 9 additions and 3 deletions
|
@ -688,6 +688,9 @@ RefPtr<Value> Execute::run(RefPtr<Shell> shell)
|
|||
{
|
||||
RefPtr<Job> job;
|
||||
|
||||
if (m_command->would_execute())
|
||||
return m_command->run(shell);
|
||||
|
||||
auto initial_commands = m_command->run(shell)->resolve_as_commands(shell);
|
||||
decltype(initial_commands) commands;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue