From 4660220f4c08e7267176027c30d2f48940946e8b Mon Sep 17 00:00:00 2001 From: yuyi Date: Fri, 14 Jan 2022 21:49:24 +0800 Subject: [PATCH] util: fix the potential error of js_builder command (#13170) --- vlib/v/util/util.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/util/util.v b/vlib/v/util/util.v index 997ad8ee6c..62df5949cb 100644 --- a/vlib/v/util/util.v +++ b/vlib/v/util/util.v @@ -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) } }