export function which()

in src/help/shell.ts [68:74]


export function which(program: string): string {
  try {
    return run(`which ${program}`, { capture: true });
  } catch (err) {
    return '';
  }
}