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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: How to run a GNAT program without starting a terminal session Date: Tue, 17 Jul 2018 18:20:56 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 17 Jul 2018 16:20:57 -0000 (UTC) Injection-Info: h2725194.stratoserver.net; posting-host="605827080ce5bf2598b6af977d66bc96"; logging-data="2559"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197uQznd8Tbu6Dkbo1WT0s0sjc2mHz2MmM=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Cancel-Lock: sha1:WRwmJ8+JMPtlCZSUzeosUdOVzys= In-Reply-To: Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:53876 Date: 2018-07-17T18:20:56+02:00 List-Id: 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 and starts a session. I played with calling it from Applescript but without success. Can I make a bash file that doesn't start a terminal session? I don't know how much MacOS is like Linux, but with the latter, if I create a menu entry for my program, there's a check box "Run in terminal". If I leave that unchecked, I don't get a terminal window. -- Jeff Carter "You tiny-brained wipers of other people's bottoms!" Monty Python & the Holy Grail 18