On Friday 05 October 2001 15:14, Jean-Marc Lasgouttes wrote: > >>>>> "Jules" == Jules Bean <[EMAIL PROTECTED]> writes: > > >> It does not crash, it hangs... > > Jules> I'd still call it a bug. LyX should fork() before doing > Jules> something like that... > > I guess the problem is the same with the converters code (if we have a > bogus converter). However, the converters are forced to wait for > completion before doing the next step. So how do we do that?
You can pass a pointer to a function to Systemcalls. This function is called on completion of the forked process. Why not split the conversion code into two and place the "after conversion" stuff in this function? > Concerning the custom export, the solution can be as simple as > using Systemcalls::DontWait when executing the command, but is it > really what we want?