[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#591781: texlive-base: texdoc barfs on gzipped files under gnome



Package: texlive-base
Version: 2009-10

Running  texdoc pgf  opens an evince window, but evince complains that
there is No such file or directory.

I have tracked down the problem: view.tlu runs the command (split over
two lines; the Xb... is of course a unique directory name):

(gnome-open "/tmp/texdoc.Xbpoq3/pgfmanual.pdf"; rm -f
"/tmp/texdoc.Xbpoq3/pgfmanual.pdf"; rmdir /tmp/texdoc.Xbpoq3) &

What happens is that gnome-open is called, but gnome-open disconnects
from the running process very quickly, so that by the time evince
fires up, the file and directory have already been deleted.

I am unsure what the correct solution would be.  I think that the
simplest might be to have a "wait" command after the file opening
command; the presence of the backgrounding process should alleviate
problems this causes.

   Julian



Reply to: