Your message dated Mon, 11 Oct 2021 19:26:03 +0200
with message-id <[email protected]>
and subject line Re: Bug#996082: vte2.91: vte.terminal.spawn_async emits 
useless warning by default
has caused the Debian Bug report #996082,
regarding vte2.91: vte.terminal.spawn_async emits useless warning by default
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
996082: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996082
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: vte2.91
Version: 0.62.3-1
Severity: minor
Tags: upstream
X-Debbugs-Cc: [email protected]

According to
https://lazka.github.io/pgi-docs/Vte-2.91/classes/Terminal.html#Vte.Terminal.spawn_sync
spawn_sync is deprecated and one should use spawn_async instead.

After trying to switch reportbug to calling spawn_async, I get this
warning:

(reportbug:22755): VTE-WARNING **: 21:37:42.462:
(../src/vtepty.cc:811):void vte_pty_spawn_with_fds_async(VtePty*, const
char*, const char* const*, const char* const*, const int*, int, const
int*, int, GSpawnFlags, GSpawnChildSetupFunc, gpointer, GDestroyNotify,
int, GCancellable*, GAsyncReadyCallback, gpointer): runtime check
failed: ((spawn_flags & ignored_spawn_flags()) == 0)

Is it necessary to emit this warning even if no special SpawnFlags are
needed for the application?

--- End Message ---
--- Begin Message ---
> What exact function are you calling and what flags are you passing to it?

Moved from vte.terminal.spawn_sync to v.t.spawn_async. The old call used
GLib.SpawnFlags.DO_NOT_REAP_CHILD and I initially kept it. Thank you for
pointing out that it can/should be dropped.

So there is no bug. Closing.

--- End Message ---

Reply via email to