execSync method
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]);