Skip to content

Properly split exec line args

Nicolas Fella requested to merge work/splitargs into master

Splitting at space breaks when using spaces escaped by shell syntax.

Consider the following exec line: app --arg="foo bar"

Previously this would be split into: (app, --arg="foo, bar)

Now it is correclty split into: (app, --arg="foo bar")

CCBUG: 444730

Merge request reports