Commit ddc02c8
fix(core): set windowsHide: true on all child process spawns
On Windows, child_process.spawn/fork/exec default to windowsHide: false,
which creates a visible console window for each subprocess. This causes
command prompt windows to flash during project graph creation and task
execution.
This change sets windowsHide: true across all spawn/fork/exec calls in
the codebase and adds a custom ESLint rule (@nx/workspace/require-windows-hide)
to enforce this going forward.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 44db03a commit ddc02c8
File tree
123 files changed
+411
-150
lines changed- astro-docs/src/plugins/utils
- packages
- create-nx-workspace/src/utils
- git
- nx
- cypress/plugins
- detox/src/executors
- build
- test
- devkit/src/tasks
- docker/src/executors/release-publish
- expo/src
- executors
- build-list
- build
- export
- prebuild
- run
- serve
- start
- submit
- update
- utils
- js/src
- executors
- node
- lib
- release-publish
- verdaccio
- generators/setup-verdaccio
- plugins/jest
- release
- utils
- utils
- swc
- maven/src/utils
- module-federation/src
- executors/utils
- plugins/utils
- next/src/executors
- build
- server
- nuxt/src/generators/application
- nx
- bin
- src
- ai
- command-line
- add
- exec
- format
- graph
- init
- implementation
- angular
- dot-nx
- react
- mcp
- migrate
- nx-cloud/connect
- release
- config
- utils
- remote-release-clients
- run
- watch
- daemon
- client
- server
- executors
- run-commands
- run-script
- nx-cloud/generators/connect-to-nx-cloud
- plugins/js/lock-file
- project-graph
- tasks-runner
- utils
- playwright/src
- executors
- merge-reports
- playwright
- generators/configuration
- plugin/src/utils/testing-utils
- react-native/src
- executors
- build-android
- build-ios
- bundle
- run-android
- run-ios
- start
- upgrade
- migrations/update-21-4-0
- utils
- react/src/executors/module-federation-static-server
- remix/src/executors
- build
- serve
- rspack/src
- executors/module-federation-static-server
- plugins/utils/plugins
- storybook/src/generators
- migrate-10
- migrate-8
- migrate-9
- vite
- plugins
- src/utils
- webpack/src/plugins
- web/src/executors/file-server
- workspace/src
- generators
- new
- utils
- utilities
- tools
- eslint-rules
- rules
- workspace-plugin/src/conformance-rules/no-ignored-tracked-files
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
123 files changed
+411
-150
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments