If you want to execute bash commands in node, but re-use your shells that can be long-lived across command executions, check out https://github.com/bitsofinfo/stateful-process-command-proxy
If you want to execute bash commands in node, but re-use your shells that can be long-lived across command executions, check out https://github.com/bitsofinfo/stateful-process-command-proxy