pub fn default_shell() -> Shell
Default value for shell field
shell
let a = default_shell(); if cfg!(windows) { assert_eq!(a, Shell::String("cmd".to_string())); } else { assert_eq!(a, Shell::String("sh".to_string())); }