An error occurred while fetching the assigned milestone of the selected merge_request.
Try to solve #4
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
mentioned in issue #4 (closed)
assigned to @nick.thomas
159 159 160 160 // Update command to use chroot 161 161 cmd.SysProcAttr.Chroot = wd 162 cmd.Path = temporaryExecutable.Name() 162 cmd.Path = "/" + temporaryExecutable.Name() @ayufan the documentation for
os/exec
states:If Path is relative, it is evaluated relative to Dir.
https://golang.org/pkg/os/exec/#Cmd
Since we're setting Dir to
/
, I don't see how this change will make any difference to the user.Most likely is that the executable isn't being written - it seems we swallow the error when this doesn't happen. I'll close this MR and fix that problem separately; it should get us closer to fixing #4 (closed)
Please register or sign in to reply