mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-04-13 06:51:05 -05:00
Use new subprocessing function to create symlinks
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user