Skip to content

Commit

Permalink
log portable_popen
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Aug 28, 2019
1 parent 49f2d2e commit 23f7067
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pdal/util/Utils.cpp
Expand Up @@ -384,7 +384,10 @@ int Utils::run_shell_command(const std::string& cmd, std::string& output)
FILE* fp = portable_popen(cmd.c_str(), "r");

if (fp == NULL)
{
std::cerr << "portable_popen failed for '" << cmd.c_str() << "'"<< std::endl;
return 1;
}

while (!feof(fp))
{
Expand Down
1 change: 0 additions & 1 deletion plugins/python/test/PythonFilterTest.cpp
Expand Up @@ -1077,7 +1077,6 @@ static void run_pipeline(std::string const& pipeline)
if (stat)
{
std::cerr << "error message in run_pipeline: " << output << std::endl;
std::cout << "error message in run_pipeline: " << output << std::endl;
}
}

Expand Down

0 comments on commit 23f7067

Please sign in to comment.