1. Georg Brandl
  2. pygments-main
  3. Issues
Issue #1369 new

Output of pl2bat.bat hangs while being colored as a Batchfile

Alan J Marr
created an issue

The pl2bat.bat file (bundled with perl) takes a perl script and wraps it such that the script can be invoked natively on Windows. In a handful of cases the results are not handled by pygmentize if treated as a Batchfile. In our use of pygmentize the script appears to hang. If the script is treated as perl it works fine. A potential hack would be to look for the comment in the first line produced by pl2bat.bat ...

rem = '---PERL---';

I've posted a test case here: http://pygments.org/demo/6633584. Do the boxes in the demo results point at the problem?

We're using Pygmentize 2.1.3.

Comments (0)

  1. Log in to comment