mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
util: fix the potential error of js_builder command (#13170)
This commit is contained in:
parent
6168a4d3a2
commit
4660220f4c
@ -178,7 +178,7 @@ pub fn launch_tool(is_verbose bool, tool_name string, args []string) {
|
||||
exit(os.system('"$tool_exe" $tool_args'))
|
||||
} $else $if js {
|
||||
// no way to implement os.execvp in JS backend
|
||||
exit(os.system('$tool_exe $tool_args'))
|
||||
exit(os.system('"$tool_exe" $tool_args'))
|
||||
} $else {
|
||||
os.execvp(tool_exe, args) or { panic(err) }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user