Commit 2b8da09df31ce35186707d820b8c2b6dbb47301c
1 parent
63097e6c
Exists in
master
and in
1 other branch
Direciona saída do comando kill para null
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
renderer/src/renderer.cpp
| ... | ... | @@ -30,7 +30,7 @@ void Renderer::executeServerScript() { |
| 30 | 30 | PRINTL(util::_DEBUG, "Executando o Script de inicialização do servidor\n"); |
| 31 | 31 | |
| 32 | 32 | //Temporário. 'Matar' todos os processos do player. |
| 33 | - string killcmd = "killall -9 videoCreator.x86_64"; | |
| 33 | + string killcmd = "killall -9 videoCreator.x86_64 > /dev/null 2>&1"; | |
| 34 | 34 | system(killcmd.c_str()); |
| 35 | 35 | sleep(2); //tempo para matar o processo |
| 36 | 36 | ... | ... |