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 10.236.189.68 with SMTP id b44mr761495yhn.4.1404349539035; Wed, 02 Jul 2014 18:05:39 -0700 (PDT) X-Received: by 10.50.43.227 with SMTP id z3mr159780igl.11.1404349538803; Wed, 02 Jul 2014 18:05:38 -0700 (PDT) Path: buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!w8no5392129qac.0!news-out.google.com!bp9ni2743igb.0!nntp.google.com!hn18no2203531igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 2 Jul 2014 18:05:36 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=KSa2aQoAAACOxnC0usBJYX8NE3x3a1Xq NNTP-Posting-Host: 66.126.103.122 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Calling execve() C function from an Ada task From: Adam Beneschan Injection-Date: Thu, 03 Jul 2014 01:05:38 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: number.nntp.dca.giganews.com comp.lang.ada:187334 Date: 2014-07-02T18:05:36-07:00 List-Id: On Saturday, June 28, 2014 11:09:04 AM UTC-7, Victor Porton wrote: > Does calling execve() C function from an Ada task does what is expected? It depends on what you expect it to do. I'd expect it to immediately termi= nate your program (and all tasks) without doing any cleanup or finalization= , before executing the new program. This is probably not what I *want* my = program to do, but it's what I'd expect calling execve() to do. Whatever i= t does, it sounds like a recipe for disaster. -- Adam