Run synchronous shell commands from within node