mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: add os.quoted_path/1, use it consistently for running V itself
This commit is contained in:
@@ -851,7 +851,7 @@ fn test_execute() ? {
|
||||
defer {
|
||||
os.rm(print0script) or {}
|
||||
}
|
||||
result := os.execute('"' + @VEXE + '" run "$print0script"')
|
||||
result := os.execute('${os.quoted_path(@VEXE)} run ${os.quoted_path(print0script)}')
|
||||
hexresult := result.output.bytes().hex()
|
||||
// println('exit_code: $result.exit_code')
|
||||
// println('output: |$result.output|')
|
||||
|
||||
Reference in New Issue
Block a user