pub fn is_batch_target(program: &OsStr) -> bool
Whether a resolved program path must be run through cmd.exe.
cmd.exe
The comparison is case-insensitive: Windows filesystems are, and NPM.CMD is the same shim as npm.cmd.
NPM.CMD
npm.cmd