aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/isexe/dist/commonjs/options.d.ts
blob: c30a29b387b6dbe4d64800e742c301c7107d7f04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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