summaryrefslogtreecommitdiffstats
path: root/lib/apiv1/exec.go
AgeCommit message (Collapse)AuthorFilesLines
2017-08-29Fixed path convertion/mapping for in/out and for command args.Sebastien Douheret1-14/+29
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-24Fixed /exec command (don't prefix command with exec binary).Sebastien Douheret1-3/+6
adding 'exec' prevents to use "script" syntax: xds-exec -c xds-config.env -- "cd build && cmake .." But 'exec' binary is mandatory to allow to pass correctly signals to subprocess such as gdb. As workaround, exec is set for now on client side (eg. in xds-gdb).
2017-08-16Add folder interface and support native pathmap folder type.Sebastien Douheret1-10/+12
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-07Improved /exec to support gdb execution.Sebastien Douheret1-96/+216
/exec now supports stdin and stdout/stderr tunneling over an websocket (socketio). This also supports redirection of inferior process output (stdout only) in particular case of gdb command (set gdb --tty option).
2017-08-07Add stdin support to /execSebastien Douheret1-7/+54
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-07-04Report an error when sdkid not found.Sebastien Douheret1-0/+6
2017-06-26Use xds-common go library.Sebastien Douheret1-1/+1
2017-06-15Auto add var named CLIENT_PROJECT_DIR to environment.Sebastien Douheret1-0/+3
2017-05-27Wait folder insync before sending exit event.Sebastien Douheret1-8/+34
By default wait folder insync. Set ExitImmediate param to true to send exit event immedialty without waiting folder synchronization.
2017-05-25Rework development page: Pre-build, Build, Populate.Sebastien Douheret1-9/+32
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-17Auto start Syncthing and Syncthing-inotify.Sebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-15Fix invalid json encoding definitionSebastien Douheret1-3/+5
2017-05-11Initial main commit.Sebastien Douheret1-0/+154
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>