You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document cross-platform FOO=bar cmd in task commands and scripts #3140
vp run parses simple commands and && chains itself, including env prefixes like FOO=bar tool --flag. The prefix is applied to the spawned process, so per the source this works on Windows too, without cross-env. (Verified on Linux; Windows read from the code, not tested.)
Other commands (pipes, redirects, $VAR, etc.) fall back to /bin/sh -c, or cmd.exe /d /s /c on Windows, where FOO=bar tool fails.
Neither is documented. command only says "The string is interpreted by a shell", which suggests cmd.exe on Windows.
Activity
jong-kyung commentedon Oct 20, 2026
Could you submit a PR?
hyunbinseo commentedon Oct 20, 2026
Can my mentee @Tarte12 submit a PR? She started using Vite Plus by my recommendation and would love to contribute.
I will review the draft PR before finalizing it.