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

escape os.exec('"$vexec"') to support directories with spaces

This commit is contained in:
vitalyster
2019-10-16 02:49:51 +03:00
committed by Alexander Medvednikov
parent 69b4594bb3
commit 0e0f0ae5ea
4 changed files with 6 additions and 6 deletions

View File

@ -983,7 +983,7 @@ pub fn install_v(args[]string) {
if true {
//println('Building vget...')
os.chdir(vroot + '/tools')
vget_compilation := os.exec('$vexec -o $vget vget.v') or {
vget_compilation := os.exec('"$vexec" -o $vget vget.v') or {
verror(err)
return
}