MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / OpenFile

Method OpenFile

lib/mdflib/mdfviewer/src/mdfviewer.cpp:189–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187
188
189void MdfViewer::OpenFile(const std::string& filename) {
190 if (!notepad_.empty()) {
191 std::vector<std::string> args = { filename };
192 boost::process::process proc(ctx_, notepad_, args);
193 proc.detach();
194 }
195}
196
197}
198

Callers 1

OnSaveAttachmentMethod · 0.45

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected