options.d.ts 1000 B

1234567891011121314151617181920212223242526272829303132
  1. export interface IsexeOptions {
  2. /**
  3. * Ignore errors arising from attempting to get file access status
  4. * Note that EACCES is always ignored, because that just means
  5. * it's not executable. If this is not set, then attempting to check
  6. * the executable-ness of a nonexistent file will raise ENOENT, for
  7. * example.
  8. */
  9. ignoreErrors?: boolean;
  10. /**
  11. * effective uid when checking executable mode flags on posix
  12. * Defaults to process.getuid()
  13. */
  14. uid?: number;
  15. /**
  16. * effective gid when checking executable mode flags on posix
  17. * Defaults to process.getgid()
  18. */
  19. gid?: number;
  20. /**
  21. * effective group ID list to use when checking executable mode flags
  22. * on posix
  23. * Defaults to process.getgroups()
  24. */
  25. groups?: number[];
  26. /**
  27. * The ;-delimited path extension list for win32 implementation.
  28. * Defaults to process.env.PATHEXT
  29. */
  30. pathExt?: string;
  31. }
  32. //# sourceMappingURL=options.d.ts.map