Function: runScript()
runScript(
name,argv?, ...__namedParameters):Promise<ScriptInvocation>
Runs one conventional script through its generated-executable contract — a rendered script in this process, a plain script as a Node process of its own over the source — and returns its exit code, streams, and (for rendered scripts) the completed document value.
This is the script-dispatch proof level. Nothing is bundled.
Parameters
name
string
argv?
readonly string[] = []
__namedParameters
...HarnessOptionsArguments<RunScriptOptions>
Returns
Promise<ScriptInvocation>