pub(super) fn in_dir(
command: &str,
cwd: &str,
family: ShellFamily,
) -> Result<String>Expand description
command run in cwd: the drawer is a long-lived shell, so run’s cwd
is a cd in front of the command (cmd’s /d changes the drive too). The
path is quoted so the shell takes it literally (no variables, globs or
command syntax), except a leading ~, which still means home.