Allan Rae wrote: > > On Tue, 19 Feb 2002, John O'Gorman wrote: > > > > > I am adding LyX document processing to an > > existing application. > > > > Is there a neat way to call LyX to edit > > a created file without spawning a new > > instance of LyX if the user already has > > an instance running? > > > > Possibly the pipe feature could be used for > > this purpose. > > > > Suggestions anyone? > > The LyXServer should work if passed the right stuff -- see the docs > (Customisation I think) you'd need the file-open command I think. If > the pipe times out you know there isn't a lyx on the other end of it > so then you can spawn a new lyx.
Ok I will try that. Any idea of how you pass a filename argument to file-open? John O'G > > Allan. (ARRae)