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:a5e:9413:: with SMTP id q19-v6mr3311246ioj.106.1531964837091; Wed, 18 Jul 2018 18:47:17 -0700 (PDT) X-Received: by 2002:aca:4787:: with SMTP id u129-v6mr1644422oia.4.1531964836934; Wed, 18 Jul 2018 18:47:16 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.215.MISMATCH!g2-v6no203426itf.0!news-out.google.com!k71-v6ni1184itk.0!nntp.google.com!d7-v6no217655itj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 18 Jul 2018 18:47:16 -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: <7461ada5-9bc3-43f5-98b0-b2930d9145bc@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <3e9420e4-f53e-445b-84d8-35c9613b46fa@googlegroups.com> Subject: Re: How to run a GNAT program without starting a terminal session From: Jerry Injection-Date: Thu, 19 Jul 2018 01:47:17 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:53900 Date: 2018-07-18T18:47:16-07:00 List-Id: On Wednesday, July 18, 2018 at 12:37:10 AM UTC-7, bj=C3=B6rn 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. >=20 > 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 >=20 > >=20 > However this is what I thought you wanted, a process in the background. > But I realize it is not. >=20 > I have not seen the option that Jeff talks about in MacOsx, junst in > windows and in Linux desktops. > Perhaps you can use > >=20 > Write a one-liner bash that starts you program, and point platypus to tha= t. >=20 > (No I have not tried it myself) >=20 > --=20 > -- > Bj=C3=B6rn Thanks. That might actually work but I'm not sure--it seems that GNAT is de= termined to either open a terminal when an Ada program runs or do nothing a= t all, as indicated in my reply to Jeffrey about embedding it in an Applesc= ript. 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 t= hings easily written in Ada--it's just not a proper application bundle howe= ver, so it does not solve my immediate need. I don't think the Pashua author includes my work with his distribution so i= f this interests anyone, let me know. Jerry