mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: remove trim_space() in os.execute() on windows, to make implementations consistent (#13272)
This commit is contained in:
@@ -366,7 +366,7 @@ pub fn execute(cmd string) Result {
|
||||
break
|
||||
}
|
||||
}
|
||||
soutput := read_data.str().trim_space()
|
||||
soutput := read_data.str()
|
||||
unsafe { read_data.free() }
|
||||
exit_code := u32(0)
|
||||
C.WaitForSingleObject(proc_info.h_process, C.INFINITE)
|
||||
|
||||
Reference in New Issue
Block a user