fix(command): broken pipe when ignoring output.

This commit is contained in:
Jérôme BOULMIER 2019-03-07 00:22:00 -05:00 committed by Patrick Ziegler
parent 92181fd237
commit 5e5d8faf04
9 changed files with 169 additions and 97 deletions
src/components

View file

@ -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);