Re: [OE-core] [PATCH V2] subprocess: remove strings and migrate to direct arrays

2016-10-10 Thread Christopher Larson
On Sun, Oct 9, 2016 at 4:44 AM, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Thu, 2016-10-06 at 20:09 -0700, Stephano Cetola wrote: > > > > When using subprocess call and check_output, it is better to use > > arrays > > rather than strings when possible to avoid whitespace and

Re: [OE-core] [PATCH V2] subprocess: remove strings and migrate to direct arrays

2016-10-10 Thread Stephano Cetola
On 10/09, Richard Purdie wrote: > On Thu, 2016-10-06 at 20:09 -0700, Stephano Cetola wrote: > > > > When using subprocess call and check_output, it is better to use > > arrays > > rather than strings when possible to avoid whitespace and quoting > > problems. > > > > [ YOCTO #9342 ] > > > > Sign

Re: [OE-core] [PATCH V2] subprocess: remove strings and migrate to direct arrays

2016-10-09 Thread Richard Purdie
On Thu, 2016-10-06 at 20:09 -0700, Stephano Cetola wrote: > > When using subprocess call and check_output, it is better to use > arrays > rather than strings when possible to avoid whitespace and quoting > problems. > > [ YOCTO #9342 ] > > Signed-off-by: Stephano Cetola > --- >  meta/lib/oe/dis

Re: [OE-core] [PATCH V2] subprocess: remove strings and migrate to direct arrays

2016-10-09 Thread Richard Purdie
On Thu, 2016-10-06 at 20:09 -0700, Stephano Cetola wrote: > When using subprocess call and check_output, it is better to use > arrays > rather than strings when possible to avoid whitespace and quoting > problems. > > [ YOCTO #9342 ] > > Signed-off-by: Stephano Cetola > --- >  meta/lib/oe/distro

[OE-core] [PATCH V2] subprocess: remove strings and migrate to direct arrays

2016-10-06 Thread Stephano Cetola
When using subprocess call and check_output, it is better to use arrays rather than strings when possible to avoid whitespace and quoting problems. [ YOCTO #9342 ] Signed-off-by: Stephano Cetola --- meta/lib/oe/distro_check.py| 2 +- meta/lib/oe/package.py | 13 +-- meta/lib/oe/p