From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:69c2:: with SMTP id e185-v6mr1422511itc.55.1531861809143; Tue, 17 Jul 2018 14:10:09 -0700 (PDT) X-Received: by 2002:a24:b703:: with SMTP id h3-v6mr18186itf.0.1531861809039; Tue, 17 Jul 2018 14:10:09 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!maths.tcd.ie!nntp-feed.chiark.greenend.org.uk!ewrotcd!usenet-its.stanford.edu!usenet.stanford.edu!g2-v6no1298151itf.0!news-out.google.com!n194-v6ni1128itg.0!nntp.google.com!g2-v6no1298150itf.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 17 Jul 2018 14:10:08 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=71.209.154.211; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG NNTP-Posting-Host: 71.209.154.211 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <95d4a3bb-8b17-4979-b60c-b9d6e3ff666f@googlegroups.com> Subject: Re: How to run a GNAT program without starting a terminal session From: Jerry Injection-Date: Tue, 17 Jul 2018 21:10:09 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:53881 Date: 2018-07-17T14:10:08-07:00 List-Id: On Tuesday, July 17, 2018 at 9:20:58 AM UTC-7, Jeffrey R. Carter wrote: > On 2018-07-17 03:20, Jerry wrote: > > How can I get Ada (GNAT) to run a program that has no text I/O without = launching a terminal session? Specifically, on macOS, I have the following = program. When I double-click it, it runs but first it opens Terminal.app an= d starts a session. I played with calling it from Applescript but without s= uccess. Can I make a bash file that doesn't start a terminal session? >=20 > I don't know how much MacOS is like Linux, but with the latter, if I crea= te a=20 > menu entry for my program, there's a check box "Run in terminal". If I le= ave=20 > that unchecked, I don't get a terminal window. >=20 > --=20 > Jeff Carter > "You tiny-brained wipers of other people's bottoms!" > Monty Python & the Holy Grail > 18 This sounds interesting but I think I'm missing some context. What do you m= ean by "create a menu entry for my program" and where is the mentioned chec= k box? Are you referring to GPS? If so, what switch does GPS change to make= this happen? Jerry