Custom initialization scripts, defined by the environment.
File(s) to hack console.log to prevent if from changing
Get all files that are passed to VM (libraries and code)
Libraries are loaded via scripts in Node.js
VM arguments excluding executable.
JS files used to setup VM
File(s) to automatically install source-map-support.
pipe lines from input stream to JSConsole
Pipe stdin and stdout from/to VM
File(s) to define
. Defines exitFunction
Is used by initFiles, override to change/disable.
send a bunch of JS files to a writer
send a bunch of JS files to an output stream
Sends required data to VM Stdin (can throw)
Wait for the VM to terminate, verify exit code
write a single JS file to a writer using an include fct if appropriate
require if the file exists on the filesystem