Skip to content

Use of shlex.split() likely causing issues on Windows #4049

@mih

Description

@mih

Used in

  • run_procedure()
  • Runner.run()
  • AddArchiveContent
  • AnnexRepo._annex_custom_command()
  • AnnexRepo.copy_to()
  • GitRepo._git_custom_command()
  • sshrun()
  • test_cmd.py

Solution candidate:
https://stackoverflow.com/questions/33560364/python-windows-parsing-command-lines-with-shlex/35900070#35900070

However, each use of split() should be investigated, because splitting for the purpose of Popen is unnecessary and would be immediately undone by it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    fix-implementedA fix is available, but has not been merged or released, yet.platform-windowsIssue concerned with Windowsseverity-importantmajor effect on the usability of a package, without rendering it completely unusable to everyone

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions