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:
parent
c8caf71282
commit
01e098aa77
@ -28,8 +28,8 @@ const (
|
||||
is_stdin_a_pipe = (is_atty(0) == 0)
|
||||
)
|
||||
|
||||
fn new_repl() &Repl {
|
||||
return &Repl{
|
||||
fn new_repl() Repl {
|
||||
return Repl{
|
||||
readline: readline.Readline{}
|
||||
modules: ['os', 'time', 'math']
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user