Skip to main content

is_batch_target

Function is_batch_target 

Source
pub fn is_batch_target(program: &OsStr) -> bool
Expand description

Whether a resolved program path must be run through cmd.exe.

The comparison is case-insensitive: Windows filesystems are, and NPM.CMD is the same shim as npm.cmd.