Skip to content

Commit

Permalink
Merge pull request tindy2013#49 from ConnectionRefused/patch-1
Browse files Browse the repository at this point in the history
Remove some logs generated by clients
  • Loading branch information
tindy2013 authored Jan 26, 2020
2 parents 7ac6016 + 38c8d7f commit bb6a9c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/processes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ bool runProgram(std::string command, std::string runpath, bool wait)
posix_spawn_file_actions_addclose(&file_actions, STDERR_FILENO);
posix_spawn(&hProc, "/bin/sh", &file_actions, NULL, const_cast<char* const*>(cargs), NULL);
*/
command = command + " > /dev/null 2>&1";
pPipe = popen(command.data(), "r");
chdir(curdir);
return true;
Expand Down

0 comments on commit bb6a9c4

Please sign in to comment.