comp.lang.ada
 help / color / mirror / Atom feed
From: "Björn Lundin" <b.f.lundin@gmail.com>
Subject: Re: How to run a GNAT program without starting a terminal session
Date: Fri, 20 Jul 2018 09:32:59 +0200
Date: 2018-07-20T09:32:59+02:00	[thread overview]
Message-ID: <pis37d$uk$1@dont-email.me> (raw)
In-Reply-To: <590da4a9-7afc-4b65-9a31-9beccbeed61e@googlegroups.com>

On 2018-07-19 22:46, Jerry wrote:
>> Does it not go away once your program is finished?
> Correct--it leaves an open terminal window indicated a completed session along with all the output that normally comes with a terminal session even if the user program doesn't add any. Maybe the result of some settings in my terminal preferences. In any case the program would always launch the terminal app which remains open even if I could figure out how to close each window.

If you _really_ want some of it in Ada
* create a bash script that runs then program.
* after the program is finished, use Applescript to close the terminal

something like 'tell Terminal to close'

but yes, it is a bit different...

There is a terminal setting to close the window if the program exited
without errors. But as you say the Terminal app would still run.
Unless told to close by applescript of course

-- 
--
Björn


      reply	other threads:[~2018-07-20  7:32 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17  1:20 How to run a GNAT program without starting a terminal session Jerry
2018-07-17  4:35 ` Jerry
2018-07-17  9:55 ` AdaMagica
2018-07-17 10:08   ` Jerry
2018-07-17 10:23     ` Jerry
2018-07-17 13:13     ` Dennis Lee Bieber
2018-07-17 12:46 ` Björn Lundin
2018-07-17 16:20   ` Jeffrey R. Carter
2018-07-17 21:10     ` Jerry
2018-07-18  6:27       ` Jeffrey R. Carter
2018-07-19  1:41         ` Jerry
2018-07-19  2:31           ` Dennis Lee Bieber
2018-07-17 21:07   ` Jerry
2018-07-17 21:12     ` Shark8
2018-07-17 21:56       ` Jerry
2018-07-18  1:33         ` Shark8
2018-07-18  7:37       ` Björn Lundin
2018-07-18 16:41         ` Shark8
2018-07-18 21:18         ` Jeffrey R. Carter
2018-07-19  6:59           ` Jerry
2018-07-19 15:25             ` Dennis Lee Bieber
2018-07-19 16:50             ` Jeffrey R. Carter
2018-07-19 20:47               ` Jerry
2018-07-19  1:47         ` Jerry
2018-07-17 18:21 ` Shark8
2018-07-17 20:53   ` Jerry
2018-07-18 16:34     ` Shark8
2018-07-18 20:30       ` Björn Lundin
2018-07-18 21:09         ` Dan'l Miller
2018-07-18 21:41           ` Bill Findlay
2018-07-19  2:13             ` Dan'l Miller
2018-07-19  2:40           ` Jerry
2018-07-19  3:19             ` Dan'l Miller
2018-07-19  2:57 ` Jerry
2018-07-19  7:20   ` Björn Lundin
2018-07-19 11:30     ` Jerry
2018-07-19 16:40       ` Björn Lundin
2018-07-19 20:46         ` Jerry
2018-07-20  7:32           ` Björn Lundin [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox