aboutsummaryrefslogtreecommitdiffstats
path: root/lib/apiv1
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-17 10:31:07 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-17 10:31:07 +0100
commit985b32b78da6e5ea008e45f6cf2df140df350ea9 (patch)
tree7c6c318b451da05fef732ff84d2b95d43660d0bd /lib/apiv1
parent72f3969eeb71af69b5d97381fd4789c0ba375296 (diff)
parent8b800f6c9d862009684ce52d0007da08f46e748d (diff)
Merge remote-tracking branch 'origin/master' into wip
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh> Conflicts: Makefile webapp/package.json
Diffstat (limited to 'lib/apiv1')
-rw-r--r--lib/apiv1/exec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/apiv1/exec.go b/lib/apiv1/exec.go
index 8ffad07..30444c1 100644
--- a/lib/apiv1/exec.go
+++ b/lib/apiv1/exec.go
@@ -140,7 +140,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