standard input in Windows cli

Hello there, I’m trying to convert RAW files with dcraw and g’mic, using:

dcraw -4 -w -c P1027091.dng | gmic -.ppm -output out.jpg

It works in Linux, but in Windows I get the following output:

[gmic]-0./ Start G'MIC interpreter.
[gmic]-0./ Input file '-.ppm' at position 0
[gmic]-0./ *** Error *** Command 'input': Unknown filename '-.ppm'.

What am I doing wrong? Is standard input not supported in Windows?
I’m using dcraw 9.27 and g’mic 3.1.5 on Windows 10.0.19044.1766

Thanks for helping out!