Skip to content

Windows下执行Command失败 #10

Description

@jasmineamber

path := fmt.Sprintf("%s:%s", cmdDir, PATH)

Windows下PATH间应该用分号“;”,调用过一次RunCommand后,isPython3一直返回false, 报错“executable file not found in %PATH%”
out, err := Command(python, "--version").Output()

图片

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions