Not able to execute go file using os/exec package
问题 I am following the golang tutorial for writing my web app. I am modifying the code from tutorial page, so that I can execute the saved page as go code (similar to go playground). But when I try to execute the saved go file using the os/exec package, it throws the following error. exec: "go run testcode.go": executable file not found in $PATH Following is my modified code : // Structure to hold the Page type Page struct { Title string Body []byte Output []byte } // saving the page func (p