Closed deathcap closed 8 years ago
Not yet any way to get the result back on the command-line (for now, have to view the output in the browser). Probably should pipe process.stdout
. See also https://github.com/deathcap/nodeachrome/issues/21 child_process API: stdio
https://github.com/deathcap/nodeachrome/issues/4 Native command-line interface via host
Uses a Unix domain socket to connect to the native host, which then sends messages to the browser
Example usage:
./host/cli.js '1+2'
spawns a new process in Nodeachrome, runs bin/eval.js to eval() 1+2