Commit 2aa771b
Fix argument tokenization
The single and double quotes used to group words
into a single command line argument must be trimmed from the tokens.
E.g. the argument of `cmd "foo bar"` is the string `"foo bar"`
and not `"\"foo bar\""`.
Signed-off-by: Didier Wenzek <didier.wenzek@acidalie.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>1 parent 33e7a3b commit 2aa771b
3 files changed
+17
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
| 213 | + | |
| 214 | + | |
220 | 215 | | |
221 | 216 | | |
222 | 217 | | |
| |||
237 | 232 | | |
238 | 233 | | |
239 | 234 | | |
240 | | - | |
| 235 | + | |
241 | 236 | | |
242 | 237 | | |
243 | 238 | | |
| |||
579 | 574 | | |
580 | 575 | | |
581 | 576 | | |
582 | | - | |
| 577 | + | |
583 | 578 | | |
584 | 579 | | |
585 | | - | |
| 580 | + | |
586 | 581 | | |
587 | 582 | | |
588 | | - | |
| 583 | + | |
589 | 584 | | |
590 | 585 | | |
591 | | - | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
592 | 593 | | |
593 | 594 | | |
0 commit comments