--command flag error on Windows machines

The team and I are running into problems running with the --command flag. Our macOS devs are running smoothly, but on Windows machines we get the error:
arg(s) may not be set when using the --command flag.

This is the script in question:
"dev": "doppler run -p client -c dev --command='next dev -p 3000'"

We’ve experienced the same behavior on our other apps, regardless of library/framework being used (ExpressJS, CRA, NextJS). Any ideas for this one? Our current workarounds involve putting what’s inside the --command flag in another script, but we’d like to find a more permanent resolution.