Move more internal data into ProcessSetupData

It's going to be reused in other parts of implementation.

Change-Id: I4721bba28537d3f00c20c0f3c8e5ca633dc8727e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-02-15 14:36:24 +01:00
parent c655bac6fa
commit 5c1dc2fd5e
2 changed files with 58 additions and 57 deletions

View File

@@ -43,8 +43,6 @@ class tst_QtcProcess;
namespace Utils {
class CommandLine;
class Environment;
class ProcessInterface;
class QtcProcess;
@@ -253,6 +251,15 @@ public:
ProcessMode m_processMode = ProcessMode::Reader;
QtcProcess::TerminalMode m_terminalMode = QtcProcess::TerminalOff;
CommandLine m_commandLine;
FilePath m_workingDirectory;
Environment m_environment;
QByteArray m_writeData;
bool m_runAsRoot = false;
bool m_haveEnv = false;
bool m_useCtrlCStub = false;
QVariantHash m_extraData;
QString m_nativeArguments;
QString m_standardInputFile;
QString m_initialErrorString;