Error "Can't open file" when using -g
key with nontrivial path
#537
Labels
bug
unexpected behaviour; should be a priority for fixing
contribution
Thank you to the contributor!
implemented
implemented tag means that either an enhancement or feature request has been implemented, or bugfix
Hi,
After the recent update of
latexindent
, I started receiving a new error every time I try to run the script with the-g /dev/null
flag (on Linux).Problem description
Here is a concrete example. I have the following very simple
.tex
file:% main.tex Just some text.
I run the following command in the terminal:
and receive the error code 2 with the following output:
It seems that there is nothing special about
/dev/null
as the command fails in the exact same way if I run, for example,However, strangely enough, everything works fine once I run the above example without the
/tmp/
in the path:Version of latexindent
I'm using the most recent version
3.23.9, 2024-04-06
but the problem didn't appear in the version a few months back (I don't remember the exact number).The text was updated successfully, but these errors were encountered: