Equivalent of GNU parallel for windows

122 Views Asked by At

Say myfile.txt contains something like:

cd somefolder; pdflatex somefile
cd somefolder; pdflatex someotherfile

What is the windows equivalent of:

cat myfile.txt | parallel --jobs 200%

(which runs all commands in myfile.txt in parallel, with 2 jobs per CPU thread at the same time)

Note that the program is going to be run inside LaTeX (that forwards the command to cmd.exe as I understand it), so I’d like to avoid wsl, cygwin, msys2… and co.

0

There are 0 best solutions below