execFileSync
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
file
Path to the file to execute (a JavaScript URL
or string
).
args
Arguments to specify for the command.
options
Options for the process execution, or null
(undefined
in JavaScript).