fvwm2 causes stdin to be closed when execing within tcl/tk
Walter Dnes
waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Mon Jan 26 03:36:52 UTC 2004
On Sat, Jan 24, 2004 at 06:03:37PM -0500, David Tilbrook wrote
> My best guess is that somehow that tcl/tk does a:
>
> fcntl(0, F_SETFD)
>
> but why only if invoked from fvwm2?
>
> What state information that is exported to exec'd children
> could possibly result in such a bizarre behaviour?
>
> Any why doesn't crt0 ensure that fids 0,1,&2 are open?
> See below.
I run FVWM, and it looks like it's using those FIDs for its own
logging. E.g....
[22:34:55][/misc/home/waltdnes] cat .xsession
#!/bin/bash
exec fvwm2 2> ~/.FVWM2-errors
--
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
Email users are divided into two classes;
1) Those who have effective spam-blocking
2) Those who wish they did
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list