From 8d88932f41165a498d838aee2fd491152a334c61 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 16 Nov 2022 15:15:06 +0100 Subject: [PATCH] PerfProfiler: Set working directory Task-number: QTCREATORBUG-28462 Change-Id: Ie1f4cc505bb859abe40c6e95bb6733a54b8b610c Reviewed-by: hjk --- src/plugins/perfprofiler/perfprofilerruncontrol.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/perfprofiler/perfprofilerruncontrol.cpp b/src/plugins/perfprofiler/perfprofilerruncontrol.cpp index 3ec2f6b6c19..54b1b80fb4e 100644 --- a/src/plugins/perfprofiler/perfprofilerruncontrol.cpp +++ b/src/plugins/perfprofiler/perfprofilerruncontrol.cpp @@ -124,6 +124,7 @@ public: cmd.addCommandLineAsArgs(runControl()->commandLine(), CommandLine::Raw); m_process->setCommand(cmd); + m_process->setWorkingDirectory(runControl()->workingDirectory()); m_process->start(); }