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

use os.quoted_path more

This commit is contained in:
Delyan Angelov
2022-01-22 21:56:01 +02:00
parent fa6f7d4c83
commit 62c3ad4953
12 changed files with 42 additions and 29 deletions

View File

@ -330,9 +330,9 @@ fn worker_trunner(mut p pool.PoolProcessor, idx int, thread_id int) voidptr {
}
if !ts.vargs.contains('fmt') {
cmd_options << ' -o "$generated_binary_fpath"'
cmd_options << ' -o ${os.quoted_path(generated_binary_fpath)}'
}
cmd := '"$ts.vexe" ' + cmd_options.join(' ') + ' "$file"'
cmd := '${os.quoted_path(ts.vexe)} ' + cmd_options.join(' ') + ' ${os.quoted_path(file)}'
ts.benchmark.step()
tls_bench.step()
if relative_file.replace('\\', '/') in ts.skip_files {