How in nodejs to create a new process that would not be destroyed at the end of the parent process?

var cp = require('child_process'); var subprocess = cp.spawn('node.exe', [], { detached: true }); subprocess.unref(); 

According to the description from https://nodejs.org/api/child_process.html , this code should launch a new process in a new window, and the parent process should not wait for the completion of the child process, but both these items are not executed.

    0