Andre Poenitz wrote:
On Sun, Dec 19, 2004 at 08:54:19PM +0000, Angus Leeming wrote:

The unix "fork", "execvp" pair doesn't exist on Windows. We can launch a
child process well enough by using "spawnvp", but then the unix
"waitpid(..., NOHANG)" doesn't exist on Windows either, so LyX will never
be informed when the process has ended. Re-write using the native API
needed.


With all this platform dependend stuff I wonder whether we shouldn't
simply use Qt for QProcess, QSetting etc even with the xforms frontend.
So we'd still get a reasonably slim and fast binary, yet do not have to
re-invent the wheel.

Granted, that is a practical idea. However, the cygwin-kde people haven't really implemented QProcess. Doing so ourselves isn't hard.


Angus



Reply via email to