We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
like title, it's not working for go 1.9.4 and 1.10 following is error message.
can't load package: package main: invalid input file name "%home%myaccount%test.go.gorun.9326.go" error: failed to run go: exit status 1
The text was updated successfully, but these errors were encountered:
golang/go/issues/24213
For safety, we banned files starting with anything other than letters, digits, dot, underscore, and slash.
gorun.go | 1 + 1 file changed, 1 insertion(+) diff --git gorun.go gorun.go index aa855cb..8b28033 100644 --- gorun.go +++ gorun.go @@ -172,6 +172,7 @@ func RunFile(sourcefile string) (rundir, runfile string, err error) { return "", "", err } runfile = strings.Replace(sourcefile, "%", "%%", -1) + runfile = strings.Replace(runfile, string(filepath.Separator), "ROOT%", 1) runfile = strings.Replace(runfile, string(filepath.Separator), "%", -1) runfile = filepath.Join(rundir, runfile) runfile += ".gorun" `
Sorry, something went wrong.
#13
No branches or pull requests
like title, it's not working for go 1.9.4 and 1.10
following is error message.
can't load package: package main: invalid input file name "%home%myaccount%test.go.gorun.9326.go"
error: failed to run go: exit status 1
The text was updated successfully, but these errors were encountered: