Skip to content

Commit 0fd4d06

Browse files
authored
fix: clear FD_CLOEXEC on stdio fds in spawn_inherited (#630)
voidzero-dev/vite-task#172
1 parent d42e0ca commit 0fd4d06

File tree

4 files changed

+67
-24
lines changed

4 files changed

+67
-24
lines changed

Cargo.lock

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ dunce = "1.0.5"
8282
fast-glob = "1.0.0"
8383
flate2 = { version = "=1.1.5", features = ["zlib-rs"] }
8484
form_urlencoded = "1.2.1"
85-
fspy = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "261c5676b2085a31d5edf4c5f76c281992ca96f3" }
85+
fspy = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "97e7aac732da3147d8762a8862933c4889bbcdfb" }
8686
futures = "0.3.31"
8787
futures-util = "0.3.31"
8888
glob = "0.3.2"
@@ -181,14 +181,14 @@ vfs = "0.12.1"
181181
vite_command = { path = "crates/vite_command" }
182182
vite_error = { path = "crates/vite_error" }
183183
vite_js_runtime = { path = "crates/vite_js_runtime" }
184-
vite_glob = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "261c5676b2085a31d5edf4c5f76c281992ca96f3" }
184+
vite_glob = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "97e7aac732da3147d8762a8862933c4889bbcdfb" }
185185
vite_install = { path = "crates/vite_install" }
186186
vite_migration = { path = "crates/vite_migration" }
187187
vite_shared = { path = "crates/vite_shared" }
188-
vite_path = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "261c5676b2085a31d5edf4c5f76c281992ca96f3" }
189-
vite_str = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "261c5676b2085a31d5edf4c5f76c281992ca96f3" }
190-
vite_task = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "261c5676b2085a31d5edf4c5f76c281992ca96f3" }
191-
vite_workspace = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "261c5676b2085a31d5edf4c5f76c281992ca96f3" }
188+
vite_path = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "97e7aac732da3147d8762a8862933c4889bbcdfb" }
189+
vite_str = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "97e7aac732da3147d8762a8862933c4889bbcdfb" }
190+
vite_task = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "97e7aac732da3147d8762a8862933c4889bbcdfb" }
191+
vite_workspace = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "97e7aac732da3147d8762a8862933c4889bbcdfb" }
192192
walkdir = "2.5.0"
193193
wax = "0.6.0"
194194
which = "8.0.0"

packages/cli/snap-tests/synthetic-build-cache-disabled/snap.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
> vp run build # synthetic build (vp build) should have cache disabled without cacheScripts
22
$ vp build ⊘ cache disabled
3+
vite+ v<semver> building client environment for production...
4+
transforming...✓ <variable> modules transformed.
5+
rendering chunks...
6+
computing gzip size...
7+
dist/index.html <variable> kB │ gzip: <variable> kB
8+
dist/assets/index-BnIqjoTZ.js <variable> kB │ gzip: <variable> kB
9+
10+
✓ built in <variable>ms
311

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
11
> vp run dev # synthetic dev (vp dev) should have cache disabled even with cacheScripts
22
$ vp dev --help ⊘ cache disabled
3+
vp/<semver>
4+
5+
Usage:
6+
$ vp [root]
7+
8+
Commands:
9+
[root] start dev server
10+
build [root] build for production
11+
optimize [root] pre-bundle dependencies (deprecated, the pre-bundle process runs automatically and does not need to be called)
12+
preview [root] locally preview production build
13+
14+
For more info, run any command with the `--help` flag:
15+
$ vp --help
16+
$ vp build --help
17+
$ vp optimize --help
18+
$ vp preview --help
19+
20+
Options:
21+
--host [host] [string] specify hostname
22+
--port <port> [number] specify port
23+
--open [path] [boolean | string] open browser on startup
24+
--cors [boolean] enable CORS
25+
--strictPort [boolean] exit if specified port is already in use
26+
--force [boolean] force the optimizer to ignore the cache and re-bundle
27+
--experimentalBundle [boolean] use experimental full bundle mode (this is highly experimental)
28+
-c, --config <file> [string] use specified config file
29+
--base <path> [string] public base path (default: /)
30+
-l, --logLevel <level> [string] info | warn | error | silent
31+
--clearScreen [boolean] allow/disable clear screen when logging
32+
--configLoader <loader> [string] use 'bundle' to bundle the config with Rolldown, or 'runner' (experimental) to process it on the fly, or 'native' (experimental) to load using the native runtime (default: bundle)
33+
-d, --debug [feat] [string | boolean] show debug logs
34+
-f, --filter <filter> [string] filter debug logs
35+
-m, --mode <mode> [string] set env mode
36+
-h, --help Display this message
37+
-v, --version Display version number
338

0 commit comments

Comments
 (0)