Skip to content

js.exec() doesn't seem to return a number, just undefined

js.exec() is documented as returning a number, but even though I used it to invoke a script that called exit(0) or exit(1), js.exec() always returned undefined.