On Thu, 2026-08-06 at 14:05 +0000, Ross Burton wrote:
> On 4 Aug 2026, at 07:06, Daniel Turull via lists.openembedded.org
> <[email protected]> wrote:
> > The alternative to use a tmp file was to modify _run to allow other 
> > encodings than utf-8, but it
> > will be a bigger refactor. Or not use _run and call directly the raw 
> > subprocess calls.
> > 
> > I can change it to either option or keep the current patch.
> 
> bb.process.run() is meant for use by bitbake itself, it’s a glorified/bad 
> wrapper around
> subprocess.run() that just does some logging magic whilst also getting in the 
> way and doing things
> like forcing utf-8...  That magic isn’t useful in devtool, so I think we 
> should be calling
> subprocess.run() directly.
> 
> Ross
ok. I'll change it to that. It was one one of the options that I had in mind 
but I was not sure if
we wanted to have all going to run()

Thanks Ross.

Daniel
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#242947): 
https://lists.openembedded.org/g/openembedded-core/message/242947
Mute This Topic: https://lists.openembedded.org/mt/120590102/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to