Fixed /exec command (don't prefix command with exec binary).
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Thu, 24 Aug 2017 15:09:57 +0000 (17:09 +0200)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Thu, 24 Aug 2017 15:09:57 +0000 (17:09 +0200)
commit2fed63ed0087df0c79f7f30f7f397611381bfccd
treee7bf6be2ccf18ca392b74619e8d11981264f9cfc
parent6691c9f7c53dc765b5a333a2db84ce692bd2b44d
Fixed /exec command (don't prefix command with exec binary).

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).
lib/apiv1/exec.go