On Fri Nov 14, 2025 at 4:31 PM CET, Peter Kjellerstedt via lists.openembedded.org wrote: >> -----Original Message----- >> From: [email protected] >> <[email protected]> On Behalf Of Mathieu >> Dubois-Briand via lists.openembedded.org >> Sent: den 14 november 2025 14:30 >> To: [email protected] >> Cc: Thomas Petazzoni <[email protected]>; Mathieu Dubois-Briand >> <[email protected]> >> Subject: [OE-core] [PATCH] terminal: Show a warning when launched terminal >> quickly exits >> > ... >> @@ -262,7 +264,10 @@ def spawn(name, sh_cmd, title=None, env=None, d=None): >> os.kill(pid, 0) >> time.sleep(0.1) >> except OSError: >> - return >> + if start_time and (time.time() - start_time < 1): >> + bb.warn("Terminal \"%s\" started but stopped only after >> %.2fs while running \"%s\"" > > "only after" -> "after only" >
Thanks, I will fix it for next version! -- Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#226300): https://lists.openembedded.org/g/openembedded-core/message/226300 Mute This Topic: https://lists.openembedded.org/mt/116291351/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
