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


Groups > comp.lang.java.programmer > #39651

Any way to tell on linux if program is started from a terminal?

Path csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From Knute Johnson <knute2020@585ranch.com>
Newsgroups comp.lang.java.programmer
Subject Any way to tell on linux if program is started from a terminal?
Date Mon, 28 Dec 2020 15:44:37 -0600
Organization A noiseless patient Spider
Lines 6
Message-ID <rsdjk5$200$1@dont-email.me> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Mon, 28 Dec 2020 21:44:38 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="a22a986907b07eb61ce379e216480b4c"; logging-data="2048"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184T7EJF3Z4VEkEvvulJ8oK"
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0
Cancel-Lock sha1:dd5mJFWLrFl/vZri+GrGqts1jCg=
Content-Language en-US
X-Mozilla-News-Host news://eternal-september.org:119
Xref csiph.com comp.lang.java.programmer:39651

Show key headers only | View raw


Any way to tell on linux if a program is started from a terminal versus 
started from clicking on an icon?

Thanks,

knute

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


Thread

Any way to tell on linux if program is started from a terminal? Knute Johnson <knute2020@585ranch.com> - 2020-12-28 15:44 -0600
  Re: Any way to tell on linux if program is started from a terminal? Andreas Leitgeb <avl@logic.at> - 2020-12-28 22:35 +0000
    Re: Any way to tell on linux if program is started from a terminal? Knute Johnson <knute2020@585ranch.com> - 2020-12-28 20:07 -0600

csiph-web