-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rizla throwing fork/exec: no such file or directory #17
Comments
I got the same problem, the solution is change the directory name as same as the mod name. |
go build directory different with mod name, cause execution not find the directory. func buildProject(p *Project) error {
// relative := p.MainFile[len(p.dir)+1:len(p.MainFile)-3] + goExt
// goBuild := exec.Command("go", "build", ".")
goBuild := exec.Command("go", "build", "-o", filepath.Base(p.dir))
goBuild.Dir = p.dir
goBuild.Stdout = p.Out.Printer.Output
goBuild.Stderr = p.Err.Printer.Output
return goBuild.Run()
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ rizla main.go
The above throws the following error
[ERRO] 2019/11/08 01:09 fork/exec ./cms_go: no such file or directory
and is stuck there.
When saving a file it does say change detected but that is it. Then again the same above error. Please help in how to fix this.
Thanks in advanced.
The text was updated successfully, but these errors were encountered: