Skip to content

{Process, Cluster}Task use single string commands. #11

Description

@nicmcd

Subprocess ideally wants to receive subprocess commands as lists of strings:
https://docs.python.org/3/library/subprocess.html#frequently-used-arguments

"Providing a sequence of arguments is generally preferred, as it allows the module to take care of any required escaping and quoting of arguments (e.g. to permit spaces in file names)."

The direction is to change to list of strings. This changes the API of taskrun, but for the better.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions