Skip to content

Commit

Permalink
integration: move pid back to end
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeHillion committed Oct 26, 2023
1 parent 4563cbe commit d66a849
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integration/runner_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ OidProc OidIntegration::runOidOnProcess(OidOpts opts,
"--dump-json"s,
"--script-source"s, opts.scriptSource,
"--mode=strict"s,
"--pid"s, std::to_string(targetProcess.id()),
};
// clang-format on

Expand All @@ -212,6 +211,9 @@ OidProc OidIntegration::runOidOnProcess(OidOpts opts,
oid_args.emplace_back(*suffix);
}

oid_args.emplace_back("--pid");
oid_args.emplace_back(std::to_string(targetProcess.id()));

if (verbose) {
std::cerr << "Running: " << targetExe << "\n";
std::cerr << "Running: " << oidExe << " ";
Expand Down

0 comments on commit d66a849

Please sign in to comment.