Re: FVWM: gmplayer

From: Perry Hutchison <phutchis_at_beaverton.windriver.com>
Date: Wed, 15 Jan 2003 18:35:52 -0800 (PST)

> #include <unistd.h>
> #include <stdio.h>
>
> main () {
> printf("stdin is %d\n",isatty(0));
> }
>
> Then running this from Fvwm gave 2 different results, with just
> plain Exec, you get "1". With Exec and the ampersand, you get
> "0".

In a shell which does not support job control (which presumably
includes any non-interactive shell), I suspect a background task's
stdin is redirected from /dev/null.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Jan 15 2003 - 20:37:34 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST