- __promisify__(command): PromiseWithChild<{
stderr: string;
stdout: string;
}>
-
Returns PromiseWithChild<{
stderr: string;
stdout: string;
}>
- __promisify__(command, options): PromiseWithChild<{
stderr: Buffer;
stdout: Buffer;
}>
-
Parameters
-
command: string
-
options: WithExternalID<{
encoding: null | "buffer";
} & ExecOptions>
Returns PromiseWithChild<{
stderr: Buffer;
stdout: Buffer;
}>
- __promisify__(command, options): PromiseWithChild<{
stderr: string;
stdout: string;
}>
-
Parameters
-
command: string
-
options: WithExternalID<{
encoding: BufferEncoding;
} & ExecOptions>
Returns PromiseWithChild<{
stderr: string;
stdout: string;
}>
- __promisify__(command, options): PromiseWithChild<{
stderr: string;
stdout: string;
}>
-
Returns PromiseWithChild<{
stderr: string;
stdout: string;
}>
- __promisify__(command, options?): PromiseWithChild<{
stderr: string | Buffer;
stdout: string | Buffer;
}>
-
Parameters
-
command: string
-
Optional
options: null | WithExternalID<ObjectEncodingOptions & ExecOptions>
Returns PromiseWithChild<{
stderr: string | Buffer;
stdout: string | Buffer;
}>