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

repl: fix ctrl+z job to background on linux (#6417)

This commit is contained in:
Henrixounez
2020-09-18 15:34:00 +02:00
committed by GitHub
parent d2badcdedf
commit 46dc6cc24b
2 changed files with 19 additions and 1 deletions

View File

@@ -111,6 +111,7 @@ pub fn set_vroot_folder(vroot_path string) {
// can return it later to whoever needs it:
vname := if os.user_os() == 'windows' { 'v.exe' } else { 'v' }
os.setenv('VEXE', os.real_path(os.join_path(vroot_path, vname)), true)
os.setenv('VCHILD', 'true', true)
}
pub fn resolve_vroot(str, dir string) ?string {