On Thu, Aug 18, 2011 at 1:07 PM, Paul Johnson <pauljoh...@gmail.com> wrote:
...
> #!/bin/bash
> rsync -rv "$1" "$2"
> exec evince $1
> exit 0
...
> Here are the problems.
>
> 1. LyX is "stuck" while Evince is open. I mean, even if you edit, lyx
> will not allow another view or update view action.  LyX still thinks
> the converter is working. It will not allow the document to be viewed
> again.

The "converter" is evince and evince is still working. Have you tried replacing
    exec evince $1
with
    evince "$1" &
to spawn evince as a background task?

-- 
John C. McCabe-Dansted

Reply via email to