fix(command): broken pipe when ignoring output.
This commit is contained in:
parent
92181fd237
commit
5e5d8faf04
9 changed files with 169 additions and 97 deletions
src/components
|
@ -408,7 +408,7 @@ void controller::process_inputdata() {
|
|||
}
|
||||
|
||||
m_log.info("Executing shell command: %s", cmd);
|
||||
m_command = command_util::make_command(move(cmd));
|
||||
m_command = command_util::make_command<output_policy::IGNORED>(move(cmd));
|
||||
m_command->exec();
|
||||
m_command.reset();
|
||||
process_update(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue