Skip to content

Runner cannot handle run(cwd=Path) #7040

@mih

Description

@mih

Docs say: cwd : path-like, optional

Made me assume that a Path instance would work, but it does not. At least not when passed to run(). It does work, when passed to the constructor (same docs of the argument there).

On Windows, such a path obj ends up in the environment, leading to unexpected results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXdeveloper experienceteam-runnersub-process execution and IO (https://github.com/datalad/datalad/issues/6365)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions