Switching out "cpanm $mod" with "dir" allows your code to work perfectly on an AWS Windows 2012 server I have access to here. As we don't have cpanm, I can't test it with that specific command.
I expect that either cpanm is requiring the additional keypress, or you are running afoul of one or more Windows security settings (are you running in an Administrator command prompt?)
In reply to Re: Background proc requires ENTER keystroke on Windows 2012
by SimonPratt
in thread Background proc requires ENTER keystroke on Windows 2012
by stevieb
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |