[Interest] Return value from QProcess

Thiago Macieira thiago.macieira at intel.com
Thu Apr 7 22:29:37 CEST 2016


On quinta-feira, 7 de abril de 2016 15:40:59 PDT Duane wrote:
> >         In the last two cases, the return value is a "wait status"  that 
> >         can
> >         be  examined using the macros described in waitpid(2).  (i.e.,
> >         WIFEXITED(), WEXITSTATUS(), and so on).
> 
> Ok thanks.

You can easily tell with:

	int x = system("exit 42");
	qDebug() << x;			// prints 10752

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list