Commit 60e112d
committed
child_process: support execArgv in spawn()
The execArgv option passed to spawn() was being silently ignored.
This commit adds proper handling of execArgv in normalizeSpawnArguments(),
prepending the execArgv values to the args array before argv0/file.
Fixes: #65725
PR-URL: #657261 parent 09f5aae commit 60e112d
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
| 698 | + | |
698 | 699 | | |
699 | 700 | | |
700 | 701 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
691 | 691 | | |
692 | 692 | | |
693 | 693 | | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
694 | 701 | | |
695 | 702 | | |
696 | 703 | | |
| |||
788 | 795 | | |
789 | 796 | | |
790 | 797 | | |
| 798 | + | |
791 | 799 | | |
792 | 800 | | |
793 | 801 | | |
| |||
0 commit comments