execSync method

dynamic execSync(
  1. String command,
  2. [ExecOptions options]
)

This method is generally identical to exec with the exception that it will not return until the child process has fully closed.

Returns stdout from the command as a Buffer or string.

Implementation

external dynamic execSync(String command, [ExecOptions options]);