help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: DocView: process ps->pdf changed status to killed.


From: Tassilo Horn
Subject: Re: DocView: process ps->pdf changed status to killed.
Date: Fri, 03 Oct 2014 20:34:41 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Pierre Lorenzon <devel@pollock-nageoire.net> writes:

Hi Pierre,

> Command ps2pdf -dSAFER /home/devel/test.ps
> /tmp/docview1001/test.ps-932911a0f86866e1b95b1aaf506a818b/doc.pdf
> executed in a console works perfectly ... 

Ok, I've thought that.  So it works on the command line but not from
lisp.  Could you please try evaluating this expression and tell us what
it messages?

(let ((process (start-process "ps2pdf conversion"
               "ps2pdf conversion output"
               "ps2pdf"
               "-dSAFER"
               "/home/devel/test.ps"
               
"/tmp/docview1001/test.ps-932911a0f86866e1b95b1aaf506a818b/doc.pdf")))
  (set-process-sentinel process
                        #'(lambda (proc event)
                            (message "Process: %s had the event `%s'"
                                     proc event))))  ;; C-x C-e here

I guess it'll say something like

  Process: ps2pdf conversion had the event `killed
  '

which wouldn't give me more of a clue than I have right now, though. :-(

Bye,
Tassilo



reply via email to

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