[Top][All Lists]

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

unoconv listener in an automake file?

From: Paul Elliott
Subject: unoconv listener in an automake file?
Date: Sat, 13 Aug 2011 03:55:24 -0500
User-agent: KMail/1.13.6 (Linux/2.6.38-10-generic; KDE/4.6.2; i686; ; )

unoconv is a program that converts openoffice any other documents to different 
formats. Its man page says it can use a listener: Example:
> unoconv --listener &
> unoconv -f pdf some-document.odt
> unoconv -f doc other-document.odt
> unoconv -f jpg some-image.png
> unoconv -f xsl some-spreadsheet.csv
> kill -15 %-

If the kill is left off, the listener continues even after the make completes
and  if debuild has started the make, it will hang untill someone kills the 
listener. ps -f shows that the listener has made the  ppid=1 after the make 

unoconv man page says that you can omit creating a listener in which case 
unoconv will create its own. I have never gotten this to work, and it will 
still have the problem of killing the listener afterwards.

In the example, the kill command uses the bash job control concept "%-". Is 
this a legal concept in the concept of a You would probably have 
to insure that you were in the same shell as the one that started the 

What is the official, recommended way of handling unoconv listeners in a 
automake file?

Thank You.

Paul Elliott                               1(512)837-1096
address@hidden               PMB 181, 11900 Metric Blvd Suite J   Austin TX 78758-3117

reply via email to

[Prev in Thread] Current Thread [Next in Thread]