mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-11-09 21:24:14 +00:00
integration: move pid back to end
This commit is contained in:
parent
6e1635ce1e
commit
315a5cde6c
@ -188,7 +188,6 @@ OidProc OidIntegration::runOidOnProcess(OidOpts opts,
|
|||||||
"--dump-json"s,
|
"--dump-json"s,
|
||||||
"--script-source"s, opts.scriptSource,
|
"--script-source"s, opts.scriptSource,
|
||||||
"--mode=strict"s,
|
"--mode=strict"s,
|
||||||
"--pid"s, std::to_string(targetProcess.id()),
|
|
||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
@ -212,6 +211,9 @@ OidProc OidIntegration::runOidOnProcess(OidOpts opts,
|
|||||||
oid_args.emplace_back(*suffix);
|
oid_args.emplace_back(*suffix);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
oid_args.emplace_back("--pid");
|
||||||
|
oid_args.emplace_back(std::to_string(targetProcess.id()));
|
||||||
|
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
std::cerr << "Running: " << targetExe << "\n";
|
std::cerr << "Running: " << targetExe << "\n";
|
||||||
std::cerr << "Running: " << oidExe << " ";
|
std::cerr << "Running: " << oidExe << " ";
|
||||||
|
Loading…
Reference in New Issue
Block a user