mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 15:37:35 +08:00
refactor: build plugin
This commit is contained in:
@@ -185,10 +185,6 @@ func InstallPythonPackage(python3 string, pkg string) (err error) {
|
||||
return nil
|
||||
}
|
||||
|
||||
func CheckPythonScriptSyntax(path string) error {
|
||||
return ExecCommand("python3", "-m", "py_compile", path)
|
||||
}
|
||||
|
||||
func ExecCommandInDir(cmd *exec.Cmd, dir string) error {
|
||||
log.Info().Str("cmd", cmd.String()).Str("dir", dir).Msg("exec command")
|
||||
cmd.Dir = dir
|
||||
|
||||
Reference in New Issue
Block a user