slash fix for go run

This commit is contained in:
alessio 2016-08-21 12:35:56 +02:00
parent 8be054d63d
commit b26146a05e
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ func (p *Project) GoRun(channel chan bool, runner chan bool, wr *sync.WaitGroup)
}else {
run = name[len(name)-1]
}
build := exec.Command(os.Getenv("GOBIN") + slash(run))
build := exec.Command(slash(os.Getenv("GOBIN")) + slash(run))
build.Dir = p.base
defer func() {
if err := build.Process.Kill(); err != nil {