mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
compiler: support explicit runrepl argument, so that the v repl can be launched with options like -debug and so on.
This commit is contained in:
parent
d1210b9e9f
commit
ec61821bf7
2 changed files with 7 additions and 6 deletions
|
@ -50,7 +50,7 @@ fn test_the_v_repl() {
|
|||
input_temporary_filename := 'input_temporary_filename.txt'
|
||||
os.write_file(input_temporary_filename, input)
|
||||
defer { os.rm(input_temporary_filename) }
|
||||
r := os.exec('$vexec < $input_temporary_filename') or {
|
||||
r := os.exec('$vexec runrepl < $input_temporary_filename') or {
|
||||
assert false
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue