child_process: add detached option to .exec()
Checklist
-
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
Doc, child_process
Description of change
This PR adds detached
as an option for child_process.exec()
to maintain consistency across the child_process
functions.
It also adds the detached
as an option to the documentation
for .execSync()
, which was previously undocumented.