> #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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to