Mercurial > hg > orthanc
diff OrthancServer/Scheduler/CallSystemCommand.cpp @ 2140:aa4b8895cd23
reorganization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 16:12:47 +0100 |
parents | 2b1520efa282 |
children | 5a8840920121 |
line wrap: on
line diff
--- a/OrthancServer/Scheduler/CallSystemCommand.cpp Wed Nov 09 15:25:09 2016 +0100 +++ b/OrthancServer/Scheduler/CallSystemCommand.cpp Wed Nov 09 16:12:47 2016 +0100 @@ -61,13 +61,13 @@ std::string dicom; context_.ReadDicom(dicom, *it); - Toolbox::TemporaryFile tmp; + TemporaryFile tmp; tmp.Write(dicom); std::vector<std::string> args = arguments_; args.push_back(tmp.GetPath()); - Toolbox::ExecuteSystemCommand(command_, args); + SystemToolbox::ExecuteSystemCommand(command_, args); // Only chain with other commands if this command succeeds outputs.push_back(*it);