Hello again.
I have a simple code, which is slot function:
The problem is I get no errors, no warnings, but new process does not start. I tried executing MS Windows commands and it failed as well. What's wrong? Any tips?
Printable View
Hello again.
I have a simple code, which is slot function:
The problem is I get no errors, no warnings, but new process does not start. I tried executing MS Windows commands and it failed as well. What's wrong? Any tips?
Note that the QProcess d'tor kills the process you started.
(i.e. you have to wait till your process has finished, or allocated the QProcess on the heap)
better use the static functions of QProcess i.e. execute() .