Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #59128

Re: Why this behavior?

From Lőrinczy Zsigmond <nospam@for.me>
Newsgroups comp.lang.c
Subject Re: Why this behavior?
Date 2015-03-28 14:35 +0100
Organization Aioe.org NNTP Server
Message-ID <mf6am1$nsb$1@speranza.aioe.org> (permalink)
References <mf620e$sh7$1@dont-email.me>

Show all headers | View raw


> I have an icon
> on my Ubuntu desktop that starts the program when you double click the
> icon - however when you do it that way none of the user querys are
> executed.

Actually, they are executed and all of them returns 0 (or less),
meaning: couldn't read anything from standard input:
in this context standard input is redirected to(from) /dev/null.

You can use command line arguments,
or create a GUI-interface to prompt the parameters.

Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Why this behavior? bilsch <king621@comcast.net> - 2015-03-28 11:06 +0000
  Re: Why this behavior? Richard Heathfield <rjh@cpax.org.uk> - 2015-03-28 11:16 +0000
    Re: Why this behavior? bilsch <king621@comcast.net> - 2015-03-28 11:22 +0000
      Re: Why this behavior? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-03-28 15:22 +0000
        Re: Why this behavior? Richard Heathfield <rjh@cpax.org.uk> - 2015-03-28 21:42 +0000
  Re: Why this behavior? Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-03-28 05:53 -0700
    Re: Why this behavior? bilsch <king621@comcast.net> - 2015-03-28 15:39 +0000
      Re: Why this behavior? Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-03-28 09:24 -0700
        Re: Why this behavior? bilsch <king621@comcast.net> - 2015-03-28 17:05 +0000
        Re: Why this behavior? bilsch <king621@comcast.net> - 2015-03-28 17:08 +0000
      Re: Why this behavior? Keith Thompson <kst-u@mib.org> - 2015-03-28 17:34 -0700
  Re: Why this behavior? Lőrinczy Zsigmond <nospam@for.me> - 2015-03-28 14:35 +0100

csiph-web