Re: FVWM: gmplayer

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Wed, 15 Jan 2003 21:25:00 -0500

Dan Espen <dane_at_mk.telcordia.com> writes:
>
> It acted completely normal when I added "&" to the end of the
> command line.
>
> I'm not sure what that means.

Sorry, bad form to reply to myself. I think I know what it
means. I used the function isatty() to detect whether
I was interactive like this:

#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".

-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.com
--
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:27:27 GMT

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