Hi,
First thanks for writing ShellJS, so we've noticed in our project that somtimes shellJS consumes 100% cpu resources when something goes wrong with exec.
i.e.
exec("mysql -u testUser testDB < test.sql")
will sometimes hang, leaving us with 100% cpu utilization on the shellJS parent process.