1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vrepl: fix v repl on Windows (#7798)

This commit is contained in:
yuyi
2021-01-02 19:17:39 +08:00
committed by GitHub
parent c8caf71282
commit 01e098aa77
2 changed files with 3 additions and 3 deletions

View File

@@ -164,7 +164,7 @@ pub fn launch_tool(is_verbose bool, tool_name string, args []string) {
if is_verbose {
println('launch_tool running tool command: $tool_command ...')
}
os.execvp(tool_exe, args)
os.system(tool_command)
}
// NB: should_recompile_tool/2 compares unix timestamps that have 1 second resolution