execSync
Exec (Synchronous)
Guest-side implementation of Node's execSync method, which is used to synchronously spawn a child process, potentially with options specified.
Return
Output from the process, as a string or buffer, or null
if the process output was redirected or unavailable for any other reason.
Parameters
command
Command to execute.
options
Options for the process execution, or null
(undefined
in JavaScript).