Functions
exec
- exec(command: string, callback?: function): ChildProcess
- exec(command: string, options: ExecOptions & { encoding: "buffer"; }, callback?: function): ChildProcess
- exec(command: string, options: ExecOptions, callback?: function): ChildProcess
-
Parameters
-
command: string
-
Optional callback: function
-
- (error: Error, stdout: string, stderr: string): void
-
Parameters
-
error: Error
-
stdout: string
-
stderr: string
Returns void
-
Parameters
-
command: string
-
options: ExecOptions & { encoding: "buffer"; }
-
Optional callback: function
-
Parameters
-
command: string
-
-
Optional callback: function
-
- (error: Error, stdout: string, stderr: string): void
-
Parameters
-
error: Error
-
stdout: string
-
stderr: string
Returns void
execFile
- execFile(file: string, callback?: function): ChildProcess
- execFile(file: string, options?: ExecFileOptions & { encoding: "buffer"; }, callback?: function): ChildProcess
- execFile(file: string, options?: ExecFileOptions, callback?: function): ChildProcess
- execFile(file: string, args?: string[], callback?: function): ChildProcess
- execFile(file: string, args?: string[], options?: ExecFileOptions & { encoding: "buffer"; }, callback?: function): ChildProcess
- execFile(file: string, args?: string[], options?: ExecFileOptions, callback?: function): ChildProcess
-
Parameters
-
file: string
-
Optional callback: function
-
- (error: Error, stdout: string, stderr: string): void
-
Parameters
-
error: Error
-
stdout: string
-
stderr: string
Returns void
-
Parameters
-
file: string
-
Optional options: ExecFileOptions & { encoding: "buffer"; }
-
Optional callback: function
-
Parameters
-
file: string
-
-
Optional callback: function
-
- (error: Error, stdout: string, stderr: string): void
-
Parameters
-
error: Error
-
stdout: string
-
stderr: string
Returns void
-
Parameters
-
file: string
-
Optional args: string[]
-
Optional callback: function
-
- (error: Error, stdout: string, stderr: string): void
-
Parameters
-
error: Error
-
stdout: string
-
stderr: string
Returns void
-
Parameters
-
file: string
-
Optional args: string[]
-
Optional options: ExecFileOptions & { encoding: "buffer"; }
-
Optional callback: function
-
Parameters
-
file: string
-
Optional args: string[]
-
-
Optional callback: function
-
- (error: Error, stdout: string, stderr: string): void
-
Parameters
-
error: Error
-
stdout: string
-
stderr: string
Returns void
execFileSync
- execFileSync(command: string): Buffer
- execFileSync(command: string, options?: ExecFileSyncOptions & { encoding: "buffer"; }): Buffer
- execFileSync(command: string, options?: ExecFileSyncOptions): Buffer
- execFileSync(command: string, args?: string[], options?: ExecFileSyncOptions & { encoding: "buffer"; }): Buffer
- execFileSync(command: string, args?: string[], options?: ExecFileSyncOptions): Buffer
-
Parameters
-
Parameters
-
command: string
-
Optional options: ExecFileSyncOptions & { encoding: "buffer"; }
-
Parameters
-
Parameters
-
command: string
-
Optional args: string[]
-
Optional options: ExecFileSyncOptions & { encoding: "buffer"; }
-
Parameters
-
command: string
-
Optional args: string[]
-
execSync
- execSync(command: string): Buffer
- execSync(command: string, options?: ExecSyncOptions & { encoding: "buffer"; }): Buffer
- execSync(command: string, options?: ExecSyncOptions): Buffer
-
Parameters
-
Parameters
-
command: string
-
Optional options: ExecSyncOptions & { encoding: "buffer"; }
-
Parameters
fork
-
Parameters
-
modulePath: string
-
Optional args: string[]
-
spawn
-
Parameters
-
command: string
-
Optional args: string[]
-
spawnSync
-
Parameters
-
Parameters
-
command: string
-
Optional options: SpawnSyncOptions & { encoding: "buffer"; }
-
Parameters
-
Parameters
-
command: string
-
Optional args: string[]
-
Optional options: SpawnSyncOptions & { encoding: "buffer"; }
-
Parameters
-
command: string
-
Optional args: string[]
-