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

[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: Fri, 16 Sep 2022 13:35:40 +0300

> From: dalanicolai <dalanicolai@gmail.com>
> Date: Fri, 16 Sep 2022 11:39:25 +0200
> 
> Execute in the terminal the command pdftocio (see
> https://github.com/Krasjet/pdf.tocgen#pdftocio, the command is
>  easily available via PyPI) on a pdf file that does
> not contain a Table of Contents. The command produces an error and
> subsequently executing `echo $?` shows exit code 1.
> 
> Subsequently, executing the same command from Emacs on the same file,
> then `call-process` returns a 0, and indeed `shell-command-to-string`
> produces an empty string. However, I would expect an error like in the
> terminal (with call-process returning exit code 1).

Please show the Lisp code you used to invoke call-process in this
case.

Thanks.





reply via email to

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