Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Code review - add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Lesiak committed Apr 25, 2023
1 parent 063aa8c commit 25f72a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/antler/system/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ namespace antler::system {
for (const auto& arg : args) {
cmd += " " + arg;
}
//redirect stderr to stdout in case caller wants to parse the error
cmd += " 2>&1";

FILE* h = popen(cmd.c_str(), "r");
Expand Down

0 comments on commit 25f72a1

Please sign in to comment.