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
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#242945): https://lists.openembedded.org/g/openembedded-core/message/242945 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]] -=-=-=-=-=-=-=-=-=-=-=-
