From f1690cc2a361e63316233f93e16e4e95b1b4d356 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Thu, 25 Oct 2018 15:18:55 +0200 Subject: [PATCH] Use new subprocessing function to create symlinks --- src/core/appdir.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/appdir.cpp b/src/core/appdir.cpp index 42cd0ee..9a86ad5 100644 --- a/src/core/appdir.cpp +++ b/src/core/appdir.cpp @@ -135,11 +135,11 @@ namespace linuxdeploy { subprocess::error(subprocess::PIPE) ); - auto outputs = proc.communicate(); + auto outputs = util::subprocess::check_output_error(proc); if (proc.retcode() != 0) { ldLog() << LD_ERROR << "ln subprocess failed:" << std::endl - << outputs.first.buf << std::endl << outputs.second.buf << std::endl; + << outputs.first << std::endl << outputs.second << std::endl; return false; }