32 lines
1000 B
TypeScript
32 lines
1000 B
TypeScript
export interface IsexeOptions {
|
|
/**
|
|
* Ignore errors arising from attempting to get file access status
|
|
* Note that EACCES is always ignored, because that just means
|
|
* it's not executable. If this is not set, then attempting to check
|
|
* the executable-ness of a nonexistent file will raise ENOENT, for
|
|
* example.
|
|
*/
|
|
ignoreErrors?: boolean;
|
|
/**
|
|
* effective uid when checking executable mode flags on posix
|
|
* Defaults to process.getuid()
|
|
*/
|
|
uid?: number;
|
|
/**
|
|
* effective gid when checking executable mode flags on posix
|
|
* Defaults to process.getgid()
|
|
*/
|
|
gid?: number;
|
|
/**
|
|
* effective group ID list to use when checking executable mode flags
|
|
* on posix
|
|
* Defaults to process.getgroups()
|
|
*/
|
|
groups?: number[];
|
|
/**
|
|
* The ;-delimited path extension list for win32 implementation.
|
|
* Defaults to process.env.PATHEXT
|
|
*/
|
|
pathExt?: string;
|
|
}
|
|
//# sourceMappingURL=options.d.ts.map
|