No subject


Sun Jan 18 00:47:59 UTC 2009


>=20
> Blocks until the process has started and the started() signal has=20
> been emitted, or until msecs milliseconds have passed.=20
>=20
> Returns true if the process was started successfully; otherwise=20
> returns false (if the operation timed out or if an error occurred).=20

Greetings=20
-Sascha-=20
_______________________________________________=20
mythtv-users mailing list=20
mythtv-users at mythtv.org=20
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users=20

------=_Part_179046_1081181659.1232469998798
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'><P>Hi,<BR><BR>Nasa schrieb:<BR>&gt; I have looked extensively at MythMovies (closest thing to what I am <BR>&gt; doing).....<BR>&gt;&gt;I think you missed this one from moviesui.cpp:<BR>&gt;&gt;if (!proc.waitForStarted())<BR><BR>&gt;&gt;Just as I said, you have to wait for the started signal!</P>
<P>&nbsp;</P>
<P>Nope,</P>
<P>&nbsp;</P>
<P>Didn't miss that -- it's used to ensure a process is started, not to see if it still running.</P>
<P>&nbsp;</P>
<P>WaitforFinish is the function to&nbsp;block until the process has stopped -- and no, it doesn't work either...</P>
<P>&nbsp;</P>
<P>Nasa</P>
<P>&nbsp;</P>
<P>(see here for function definitions:&nbsp; <A href="http://cep.xor.aps.anl.gov/software/qt4-x11-4.2.2-browser/df/dde/class_q_process.html#6d959047a5a84bcf752021cfff8a6ea8">http://cep.xor.aps.anl.gov/software/qt4-x11-4.2.2-browser/df/dde/class_q_process.html#6d959047a5a84bcf752021cfff8a6ea8</A>&nbsp;)<BR><BR>From the QT docs:<BR>&gt; bool QProcess::waitForStarted ( int msecs = 30000 )<BR>&gt; <BR>&gt; Blocks until the process has started and the started() signal has<BR>&gt; been emitted, or until msecs milliseconds have passed.<BR>&gt; <BR>&gt; Returns true if the process was started successfully; otherwise<BR>&gt; returns false (if the operation timed out or if an error occurred).<BR><BR>Greetings<BR>-Sascha-<BR>_______________________________________________<BR>mythtv-users mailing list<BR>mythtv-users at mythtv.org<BR>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<BR></P></div></body></html>
------=_Part_179046_1081181659.1232469998798--


More information about the mythtv-users mailing list