X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=cli%2Fcli_diff.cpp;h=11399a16b4c191f07c0372470b3a359ae2bfe6bb;hb=fa9d7a30099c41d3f161a3fb043bd8408a5fd2e9;hp=a06e8422c4de33eaacefcb8561cc455fe05b6068;hpb=32420d2167c14c4c00d351e8807031b64bce06ef;p=apitrace diff --git a/cli/cli_diff.cpp b/cli/cli_diff.cpp index a06e842..11399a1 100644 --- a/cli/cli_diff.cpp +++ b/cli/cli_diff.cpp @@ -96,6 +96,9 @@ command(int argc, char *argv[]) #ifdef _WIN32 std::cerr << "The 'apitrace diff' command is not yet supported on this O/S.\n"; #else + os::Path apitrace = os::getProcessName(); + setenv("APITRACE", apitrace.str(), 1); + execv(command.str(), args); #endif