Code Review
/
src
/
xds
/
xds-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
715e52f
)
Fixed spaces handling in RPath - SPEC1116
author
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Fri, 17 Nov 2017 08:53:10 +0000
(09:53 +0100)
committer
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Fri, 17 Nov 2017 08:53:10 +0000
(09:53 +0100)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
lib/apiv1/exec.go
patch
|
blob
|
history
diff --git
a/lib/apiv1/exec.go
b/lib/apiv1/exec.go
index
fd0f8bb
..
de40c70
100644
(file)
--- a/
lib/apiv1/exec.go
+++ b/
lib/apiv1/exec.go
@@
-135,7
+135,7
@@
func (s *APIService) execCmd(c *gin.Context) {
}
}
- cmd = append(cmd, "cd",
fld.GetFullPath(args.RPath)
)
+ cmd = append(cmd, "cd",
"\""+fld.GetFullPath(args.RPath)+"\""
)
// FIXME - add 'exec' prevents to use syntax:
// xds-exec -l debug -c xds-config.env -- "cd build && cmake .."
// but exec is mandatory to allow to pass correctly signals