[Interest] Return value from QProcess

Konstantin Tokarev annulen at yandex.ru
Wed Apr 6 16:39:28 CEST 2016



06.04.2016, 17:36, "Duane" <duane.hebert at group-upc.com>:
> Qt 5.3, on TinyCore Linux 5 and Fedora 23.
>
> I'm currently using a call to std::system to load a module with insmod.
>   This works but I would like to do it with QProcess.

Why?

> This also works
> but I can't seem to get the return value of the insmod call like I can
> with std::system. Any suggestions?

QProcess::exitCode()


>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-- 
Regards,
Konstantin



More information about the Interest mailing list