child_process: refactor var to const
Affected core subsystem(s)
child_process
Description of change
In several places in the code we use var
for options objects. This pull request replaces usages of var
with const
where appropriate in child_process
- mainly for consistency and because
it makes it explicit that the object reference is not replaced.