[Solved]Process open program
-
Is there a simple way to get an answer to my process if I do like this
@process.start("xpdf " + f + " -g 800x600+0+0");@
I tried process.started but no good.
I think that I have see something like this somewhere@replay=process.start("xpdf " + f + " -g 800x600+0+0");@
But I'm not sure
-
The above method start a process asynchronously. You may need use "QProcess::waitForStarted":http://developer.qt.nokia.com/doc/qt-4.8/qprocess.html#waitForStarted
Also I think for you the best is to use the static functions of QProcess class:
"execute":http://developer.qt.nokia.com/doc/qt-4.8/qprocess.html#execute or
"startDetached":http://developer.qt.nokia.com/doc/qt-4.8/qprocess.html#startDetached-2