Closed
Description
- Version: 10.5.0 (but I think this is not related)
- Platform: Ubuntu 18.04.1 LTS (but I think this is not related)
- Subsystem: child_process
Hi,
I've just realized that this code can't work because args parameter can't be null. But it's not documented and I think it can be disturbing.
childProcess.fork(app.js', null, {
execPath: process.execPath
})
But the following will work :
childProcess.fork(app.js', [], {
execPath: process.execPath
})
I think this line is related to the issue :
Line 71 in 2bea9ce
I'm not sure if it's the intended behavior, or if it's a lack in the documentation ?