Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 516 Bytes

File metadata and controls

28 lines (15 loc) · 516 Bytes

nodejsscript


nodejsscript / s / exec

Variable: exec

const exec: ExecFunction

Executes the given command.

Param

The command to execute.

Param

Silence and synchronous options.

Param

Receives code and output asynchronously.

Returns

Returns an object containing the return code and output as string, or if {async: true} or a callback was passed, a ChildProcess.