On Friday 19 March 2010 00:34:44 Dan Wallis wrote:
> On 19 March 2010 08:42, Mick <michaelkintz...@gmail.com> wrote:
> > Is there some bash incantation I can use then with OOo compiled from
> > source, to keep the terminal open until I close OOo?
> 
> I guess something like this might do the trick:
>     while pgrep ooffice >/dev/null; do sleep 1; done
> Although I'm not at my Gentoo box at the moment to test. The version
> of pgrep on this Debian box doesn't have a -q option, hence the
> redirect to devnull.

Thanks Dan, I tried this but the terminal did not wait for OOo to close.  It 
exited straight away:

xterm -fg green -bg black -e 'gpg DATA/data.ods.gpg && oocalc DATA/data.ods; 
while pgrep oocalc >/dev/null; do sleep 1; done'

I also tried /usr/bin/oocalc, but it didn't work.  :-(
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to