You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my @i = (1..257); # 1..256 works
for (@i){
print("0123456789ABCDEF");
}
When building this document using pdflatex -enable-pipes -enable-write18 input_test.tex the process gets stuck and never finishes. The task manager shows pdflatex and perl running with 0% CPU usage. Reducing the loop count to 256 in the perl script makes it work again. I also installed the older MiKTeX 20.6 version which works without problems.
I assume something concerning the buffering is going wrong here, since the buffer size used for pipes is exactly 4KB:
See the following example which runs an external perl script to generate some input:
input_test.tex:
test.pl:
When building this document using
pdflatex -enable-pipes -enable-write18 input_test.tex
the process gets stuck and never finishes. The task manager shows pdflatex and perl running with 0% CPU usage. Reducing the loop count to 256 in the perl script makes it work again. I also installed the older MiKTeX 20.6 version which works without problems.I assume something concerning the buffering is going wrong here, since the buffer size used for pipes is exactly 4KB:
miktex/Libraries/MiKTeX/Core/Session/files.cpp
Line 57 in 584abb8
Configuration report:
The text was updated successfully, but these errors were encountered: