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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user