texstudio-org / texstudio

TeXstudio is a fully featured LaTeX editor. Our goal is to make writing LaTeX documents as easy and comfortable as possible.
http://www.texstudio.org/
GNU General Public License v3.0
2.85k stars 346 forks source link

Where to know what command will be executed with click [Help]>[Check LaTeX Installation]? #3882

Closed Explorer-cc closed 1 week ago

Explorer-cc commented 1 week ago

Environment

Description

When I click the Toolbar [Help] -> [Check LaTeX Installation] > It show the below that:

The CJK character is here that: where pdflatex: Error: "path:pattern" assign the invalid patterns in red rectangle.

image

But when I try to check the PATH with cmd on windows 11, it shows that everything go right as below. And with the compile button, pdflatex works normally and I can get the PDF file normally.

image

I wonder the behaviour of Check LaTeX installation, what commands will be executed after clicking the button, I have consulted from the documanetation but didn't found some related to that. And how to make TeXstudio found the pdflatex.exe here?

sunderme commented 1 week ago

txs just runs the command where pdflatex. The rest is already output of that command.

sunderme commented 1 week ago

yes, run in in "cmd.exe"

Explorer-cc commented 1 week ago

Yes, in powershell I need to use where.exe pdflatex to show the output. Thanks!