Properties
auth?
autoCleanup?
close() or
facade shutdown() for deterministic cleanup.
Default Value
false
binaryPath?
COGNITIO_BIN_PATH, the bundled platform
package, and PATH.
Relative paths resolve against process.cwd(). A bare command name is
rejected — leaving binaryPath unset is how you ask for a PATH lookup.
A path that does not exist or is not executable throws rather than falling
through: an explicit choice that does not work is a caller error.
Skips the post-readiness compatibility check, since you chose the binary.
config?
env?
hostname?
isolated?
Default Value
keepScratch?
passEnv?
port?
scratchDir?
shutdownTimeout?
signal?
spawnProcess?
on, once, off, kill, unref,
piped stdout/stderr, pid, and nullable/optional exitCode/signalCode. Skips the
post-readiness compatibility check, since you own the process.
Parameters
request
SpawnServerRequest
Returns
ChildProcess