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
V panic: v Files\v_windows\v\blog\mk\coreutils/bin/arch: unknown command #89
I execute the command v run build.vsh in Git Bash on Windows 10. It output the following message. Does anyone know how to fix this error?
User@DESKTOP MINGW64 /d/Program Files/v_windows/v/blog/mk/coreutils (main)
compiling arch...
failed cmd: v -Wimpure-v -o D:\Program Files\v_windows\v\blog\mk\coreutils/bin/arch ./arch
failed code: 1
V panic: v Files\v_windows\v\blog\mk\coreutils/bin/arch: unknown command
Run v help for usage.
v hash: d0a11f5
C:/Users/User/AppData/Local/Temp/v_0/build.4116815423438212709.tmp.c:7239: at _v_panic: Backtrace
C:/Users/User/AppData/Local/Temp/v_0/build.4116815423438212709.tmp.c:15208: by os__execute_or_panic
C:/Users/User/AppData/Local/Temp/v_0/build.4116815423438212709.tmp.c:16298: by main__main
C:/Users/User/AppData/Local/Temp/v_0/build.4116815423438212709.tmp.c:16681: by wmain
0046e408 : by ???
0046e56b : by ???
7ff8a71f7034 : by ???
Fixed by #228. The build script passed the output path as one word in a command string, so the space in \D:\Program Files...\ split it. It now uses \os.exec_or_panic\ with an argument array, where each argument is passed as it is and a path with a space needs no quoting.
Activity
metif12 commentedon Oct 6, 2026
Fixed by #228. The build script passed the output path as one word in a command string, so the space in \D:\Program Files...\ split it. It now uses \os.exec_or_panic\ with an argument array, where each argument is passed as it is and a path with a space needs no quoting.