Move to using a node worker to handle exit codes and stdio