mirror of https://github.com/go-python/gopy.git
unquote path
This commit is contained in:
parent
7a98aa58fe
commit
2725838e76
2
gen.go
2
gen.go
|
@ -97,7 +97,7 @@ func loadPackage(path string, buildFirst bool, buildTags string) (*packages.Pack
|
||||||
buildTagStr := fmt.Sprintf("\"%s\"", strings.Join(strings.Split(buildTags, ","), " "))
|
buildTagStr := fmt.Sprintf("\"%s\"", strings.Join(strings.Split(buildTags, ","), " "))
|
||||||
args = append(args, "-tags", buildTagStr)
|
args = append(args, "-tags", buildTagStr)
|
||||||
}
|
}
|
||||||
args = append(args, "-v", "path")
|
args = append(args, "-v", path)
|
||||||
fmt.Printf("go %v\n", strings.Join(args, " "))
|
fmt.Printf("go %v\n", strings.Join(args, " "))
|
||||||
cmd := exec.Command("go", args...)
|
cmd := exec.Command("go", args...)
|
||||||
cmd.Stdin = os.Stdin
|
cmd.Stdin = os.Stdin
|
||||||
|
|
Loading…
Reference in New Issue