Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
The new version works OK with both gnuclient and vi. Thanks. Anthony -- Anthony Williams Software Engineer, Nortel Networks Optical Components Ltd The opinions expressed in this message are not necessarily those of my employer "Tony Hoyle" <tmh at nothing-on.tv> wrote in message news:3d0df20f.862768546 at news.cvsnt.org... > On Mon, 17 Jun 2002 13:54:40 +0000 (UTC), "Anthony Williams" > <anthwil at nortelnetworks.com> wrote: > > >OK, well gnuclient must close the pipes then, because as it stands, run_exec > >thinks that the process has terminated, yet xemacs still has only just > >opened the file, and the gnuclient process is still running. Adding a > >waitpid just before the return in run_exec then works correctly --- you can > >even pick up the error code to return to the caller, so when (e.g.) vi exits > >immediately with an error (as it does), this is picked up. > > > I've got a new version using waitpid, which is a bit more robust. > Hopefully this one will behave itself a bit better. > > Tony > > > > _______________________________________________ > Cvsnt mailing list > Cvsnt at cvsnt.org > http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs > _______________________________________________ Cvsnt mailing list Cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs