How to give the Nodejs Child process a name

Viewed 192

I'm trying to give a child process a name but I don't know how to do it

const exec = require('child_process').exec;
  let cpr = exec('node server.js');

I'm using the exec function to run the child process, I'm using WINDOWS

0 Answers
Related