Mercurial > hg > orthanc
comparison OrthancServer/Scheduler/CallSystemCommand.cpp @ 2124:2b1520efa282
cleaning up
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 07 Nov 2016 12:11:34 +0100 |
parents | b1291df2f780 |
children | aa4b8895cd23 |
comparison
equal
deleted
inserted
replaced
2123:1cf093cbdad8 | 2124:2b1520efa282 |
---|---|
57 LOG(INFO) << "Calling system command " << command_ << " on instance " << *it; | 57 LOG(INFO) << "Calling system command " << command_ << " on instance " << *it; |
58 | 58 |
59 try | 59 try |
60 { | 60 { |
61 std::string dicom; | 61 std::string dicom; |
62 context_.ReadFile(dicom, *it, FileContentType_Dicom); | 62 context_.ReadDicom(dicom, *it); |
63 | 63 |
64 Toolbox::TemporaryFile tmp; | 64 Toolbox::TemporaryFile tmp; |
65 tmp.Write(dicom); | 65 tmp.Write(dicom); |
66 | 66 |
67 std::vector<std::string> args = arguments_; | 67 std::vector<std::string> args = arguments_; |