From: Joel Rosdahl Date: Thu, 2 Feb 2023 19:27:37 +0000 (+0100) Subject: feat: Log executed command lines on Windows X-Git-Tag: v4.8~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b4f3bba6f53071b4d197178a9ce444e06df7bc6;p=thirdparty%2Fccache.git feat: Log executed command lines on Windows --- diff --git a/src/execute.cpp b/src/execute.cpp index a217d6581..de684fd00 100644 --- a/src/execute.cpp +++ b/src/execute.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2002 Andrew Tridgell -// Copyright (C) 2011-2022 Joel Rosdahl and other contributors +// Copyright (C) 2011-2023 Joel Rosdahl and other contributors // // See doc/AUTHORS.adoc for a complete list of contributors. // @@ -58,6 +58,8 @@ static int win32execute(const char* path, int execute(Context& ctx, const char* const* argv, Fd&& fd_out, Fd&& fd_err) { + LOG("Executing {}", Util::format_argv_for_logging(argv)); + return win32execute(argv[0], argv, 1,