[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57854: 29.0.50; Different exit code in Emacs and terminal for identi
From: |
Eli Zaretskii |
Subject: |
bug#57854: 29.0.50; Different exit code in Emacs and terminal for identical process |
Date: |
Sat, 17 Sep 2022 09:05:51 +0300 |
[Please use "Reply All" to reply, to keep the bug tracker on the CC.]
> From: dalanicolai <dalanicolai@gmail.com>
> Date: Fri, 16 Sep 2022 21:20:17 +0200
>
> The code I was using is `(call-process "pdftocio" nil nil nil
> buffer-file-name)` (from the buffer visiting the file)
This makes the null device the standard input of the program. What
happens if you invoke pdftocio from the shell prompt with a similar
redirection:
$ pdftocio ... < /dev/null
(replace "..." with whatever command-line arguments you need, probably
just the file name). What exit code does the program return then?
- bug#57854: some extra info from inspecting the `pdftocio` package, (continued)
bug#57854: Test result to previous suggestion, dalanicolai, 2022/09/16
bug#57854: good to know, dalanicolai, 2022/09/16
bug#57854: 29.0.50; Different exit code in Emacs and terminal for identical process, Eli Zaretskii, 2022/09/16
- Message not available
- bug#57854: 29.0.50; Different exit code in Emacs and terminal for identical process,
Eli Zaretskii <=