Skip to content

Command splitting breaks quoted args #3

@colek42

Description

@colek42

Summary

runDirectCommandWithWitness tokenizes the command input with a regex. Complex commands (nested quotes, pipes, &&) get mangled before witness ever runs.

Proposed Fix

Use a shell to execute (bash -lc) or a proper parser like shell-quote so commands are passed through intact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions