forked from qt-creator/qt-creator
Utils/ProjectExplorer: Use FilePath for Runnable::workingDirectory
... and in some using code. Change-Id: I231ea56628908f7d305d13f07eabe8803fe8a791 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -55,7 +55,8 @@ QString QnxDeviceProcess::fullCommandLine(const Runnable &runnable) const
|
||||
"test -f $HOME/profile && . $HOME/profile ; ";
|
||||
|
||||
if (!runnable.workingDirectory.isEmpty())
|
||||
fullCommandLine += QString::fromLatin1("cd %1 ; ").arg(ProcessArgs::quoteArg(runnable.workingDirectory));
|
||||
fullCommandLine += QString::fromLatin1("cd %1 ; ").arg(
|
||||
ProcessArgs::quoteArg(runnable.workingDirectory.toString()));
|
||||
|
||||
const Environment env = runnable.environment;
|
||||
for (auto it = env.constBegin(); it != env.constEnd(); ++it) {
|
||||
|
||||
Reference in New Issue
Block a user