]> code.ossystems Code Review - openembedded-core.git/commit
oe.scriptutils.run_editor: ditch the error-prone argument quoting
authorChristopher Larson <chris_larson@mentor.com>
Thu, 21 Jun 2018 21:07:31 +0000 (02:07 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jun 2018 12:53:28 +0000 (13:53 +0100)
commitc9fdf3d046606a0becb2e6b566a481c483b9021a
treed78ba4fc68202d6d0c86052432e7e69e70a0ce92
parent13269dfbbc62faef32595343dc78250fdb2a2946
oe.scriptutils.run_editor: ditch the error-prone argument quoting

Rather than trying to construct a string by quoting the files in an
error-prone way, parse $EDITOR to pass a list to subprocess rather than
a string.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/scriptutils.py