MCPcopy Create free account
hub / github.com/eclipsesource/J2V8 / exec

Method exec

src/main/java/com/eclipsesource/v8/NodeJS.java:183–197  ·  view source on GitHub ↗

Execute a NodeJS script. This will load the script and execute it on the next tick. This is the same as how NodeJS executes scripts at startup. Since the script won't actually run until the next tick, this method does not return a result. @param file The script to execute.

(final File file)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

createNodeJSMethod · 0.95
testExecNodeScriptMethod · 0.80
chmodMethod · 0.80

Calls 5

pushMethod · 0.95
executeObjectFunctionMethod · 0.95
safeReleaseMethod · 0.95
getObjectMethod · 0.45

Tested by 1

testExecNodeScriptMethod · 0.64