LinuxDevice: Implement runProcess()

Change-Id: I5300d36119ffb9fdd82a2ba7e02f76edc0fe2eda
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-02-03 13:20:15 +01:00
parent 9a5cb5896e
commit f5b946abbe
5 changed files with 71 additions and 12 deletions

View File

@@ -90,6 +90,7 @@ public:
~QtcProcess();
ProcessMode processMode() const;
TerminalMode terminalMode() const;
enum Result {
// Finished successfully. Unless an ExitCodeInterpreter is set
@@ -111,6 +112,7 @@ public:
void setEnvironment(const Environment &env);
void unsetEnvironment();
const Environment &environment() const;
bool hasEnvironment() const;
void setCommand(const CommandLine &cmdLine);
const CommandLine &commandLine() const;