manage subprocesses via nodejs