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

os: do not trim space from output of exec

This commit is contained in:
Adam Stankiewicz
2020-06-14 01:41:47 +02:00
committed by GitHub
parent 45a3d8474e
commit 471c931ada
5 changed files with 6 additions and 5 deletions

View File

@@ -113,7 +113,7 @@ pub fn exec(cmd string) ?Result {
bufbp := byteptr(buf)
res.write_bytes( bufbp, vstrlen(bufbp) )
}
soutput := res.str().trim_space()
soutput := res.str()
//res.free()
exit_code := vpclose(f)
// if exit_code != 0 {