vup: remove empty new line on unix
parent
2ce5797ec2
commit
dde1b89c5e
|
@ -66,7 +66,7 @@ fn (app App) recompile_v() {
|
||||||
println('> recompiling v itself with `$vself` ...')
|
println('> recompiling v itself with `$vself` ...')
|
||||||
}
|
}
|
||||||
if self_result := os.exec(vself) {
|
if self_result := os.exec(vself) {
|
||||||
println(self_result.output)
|
println(self_result.output.trim_space())
|
||||||
if self_result.exit_code == 0 {
|
if self_result.exit_code == 0 {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
@ -281,7 +281,7 @@ pub fn exec(cmd string) ?Result {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
soutput := read_data.str().trim_space()
|
soutput := read_data.str()
|
||||||
read_data.free()
|
read_data.free()
|
||||||
exit_code := u32(0)
|
exit_code := u32(0)
|
||||||
C.WaitForSingleObject(proc_info.h_process, C.INFINITE)
|
C.WaitForSingleObject(proc_info.h_process, C.INFINITE)
|
||||||
|
|
Loading…
Reference in New Issue