<div dir="ltr"><div>Hi all,</div><div><br></div>When invoked in Git Bash for Windows, epstopdf failed with<div><br></div><div>  epstopdf ($Id: <a href="http://epstopdf.pl">epstopdf.pl</a> 68289 2023-09-15 22:17:54Z karl $) 2.33<br>  !!! Error: Required program kpsewhich not found in PATH (<full content of PATH>)<br></div><div><br></div><div>It seems the cause is, in Git Bash the path separator in PATH is unix-like colon (:), not win-like semicolon (;), but epstopdf still tries to split PATH using semicolon in `sub check_prog_exists`. Related source lines in epstopdf</div><div><br></div><div>  # not absolute, check path<br>  for my $dir (split ($on_windows ? ";" : ":", $ENV{"PATH"})) {<br>    $dir = "." if $dir eq ""; # empty path element<br>    debug " Checking dir $dir";<br>    if (-x "$dir/$prog") {<br>      return 1;<br>    } elsif ($on_windows_or_cygwin) {<br>      for my $ext (@w_ext) {<br>        return 1 if (-x "$dir/$prog.$ext");<br>      }<br>    }<br>  }<br></div><div><br></div><div>Steps to reproduce the problem:</div><div><br></div><div>  # get an eps provided by mwe package</div><div>  cp $(kpsewhich example-image.eps) .</div><div>  epstopdf --debug example-image.eps</div><div><br></div><div>This is first reported and discussed in <a href="https://github.com/teatimeguest/setup-texlive-action/issues/292">https://github.com/teatimeguest/setup-texlive-action/issues/292</a>.</div><div><br></div><div>best regards,</div><div>Yukai</div></div>