command.d.ts 427 B

12345678
  1. /**
  2. * Converts an environment variable usage to be appropriate for the current OS
  3. * @param command Command to convert
  4. * @param env Map of the current environment variable names and their values
  5. * @param normalize If the command should be normalized using `path` after converting
  6. * @returns Converted command
  7. */
  8. export declare function commandConvert(command: string, env: NodeJS.ProcessEnv, normalize?: boolean): string;