From: Jerry <list_email@icloud.com>
Subject: Re: How to run a GNAT program without starting a terminal session
Date: Wed, 18 Jul 2018 18:47:16 -0700 (PDT)
Date: 2018-07-18T18:47:16-07:00 [thread overview]
Message-ID: <3e9420e4-f53e-445b-84d8-35c9613b46fa@googlegroups.com> (raw)
In-Reply-To: <pimqn5$dr9$1@dont-email.me>
On Wednesday, July 18, 2018 at 12:37:10 AM UTC-7, björn lundin wrote:
> On 2018-07-17 23:12, Shark8 wrote:
> > A lot of the cases I've seen where daemons are used/needed are because the language [PHP in this case] didn't have any notion of TASKs and DELAYs -- rather frustrating to come across when it's so trivially easy in Ada.
>
> No, that is not it at all.
> A daemon is a detached background process, like services are on windows.
> They have no user interface and are supposed to run a long time.
> webservers, mailservers etc are typically daemons.
> Has absolutely nothing to do whit language/tasks/delays at all
>
> <https://en.wikipedia.org/wiki/Daemon_%28computing%29>
>
> However this is what I thought you wanted, a process in the background.
> But I realize it is not.
>
> I have not seen the option that Jeff talks about in MacOsx, junst in
> windows and in Linux desktops.
> Perhaps you can use
> <http://sveinbjorn.org/platypus>
>
> Write a one-liner bash that starts you program, and point platypus to that.
>
> (No I have not tried it myself)
>
> --
> --
> Björn
Thanks. That might actually work but I'm not sure--it seems that GNAT is determined to either open a terminal when an Ada program runs or do nothing at all, as indicated in my reply to Jeffrey about embedding it in an Applescript.
Platypus does create a proper application package so it is double-clickable. Could work.
This reminds me that few years ago I wrote an extensive Ada wrapper around a similar project called Pashua https://www.bluem.net/en/projects/pashua/. With Pashua and my Ada work, you can run a significant subset of Mac GUI things easily written in Ada--it's just not a proper application bundle however, so it does not solve my immediate need.
I don't think the Pashua author includes my work with his distribution so if this interests anyone, let me know.
Jerry
next prev parent reply other threads:[~2018-07-19 1:47 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 [this message]
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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox