From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <peter.kjellerstedt@axis.com>,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Cc: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Subject: Re: [OE-core] [PATCH] terminal: Show a warning when launched terminal quickly exits
Date: Fri, 14 Nov 2025 18:38:51 +0100 [thread overview]
Message-ID: <DE8LNHFXEU6J.1IQJCFFCUST4P@bootlin.com> (raw)
In-Reply-To: <DB5PR02MB10213A5531507F123469BD174EFCAA@DB5PR02MB10213.eurprd02.prod.outlook.com>
On Fri Nov 14, 2025 at 4:31 PM CET, Peter Kjellerstedt via lists.openembedded.org wrote:
>> -----Original Message-----
>> From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Mathieu Dubois-Briand via lists.openembedded.org
>> Sent: den 14 november 2025 14:30
>> To: openembedded-core@lists.openembedded.org
>> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>; Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
>> 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
prev parent reply other threads:[~2025-11-14 17:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-14 13:30 [PATCH] terminal: Show a warning when launched terminal quickly exits Mathieu Dubois-Briand
2025-11-14 15:31 ` [OE-core] " Peter Kjellerstedt
2025-11-14 17:38 ` Mathieu Dubois-Briand [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DE8LNHFXEU6J.1IQJCFFCUST4P@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.kjellerstedt@axis.com \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox