QProcess will start your command asynchronously, you'll have to wait before checking if its running or any error occured. From Qt docs:
Processes are started asynchronously, which means the started() and error() signals may be delayed. Call waitForStarted() to make sure the process has started (or has failed to start) and those signals have been emitted.





Reply With Quote

Bookmarks