From owner-freebsd-questions Fri May 18 7:52:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web9405.mail.yahoo.com (web9405.mail.yahoo.com [216.136.129.111]) by hub.freebsd.org (Postfix) with SMTP id 5685937B423 for ; Fri, 18 May 2001 07:52:22 -0700 (PDT) (envelope-from eric_boucher60@yahoo.com) Message-ID: <20010518145222.73157.qmail@web9405.mail.yahoo.com> Received: from [207.164.184.163] by web9405.mail.yahoo.com; Fri, 18 May 2001 07:52:22 PDT Date: Fri, 18 May 2001 07:52:22 -0700 (PDT) From: Eric Boucher Subject: Fortran reading exit code: How to do it without... To: FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi everyone, I have just posted a question about exit code integer in unix and thank to Jason E.Murray and Linh Pham, this solve my problem. But I want to know something else: I'm using fortran 77 and I make my code starting a script. I want to catch that exit code of the script without having to redirect it in a file and reading the integer of that file. Because for now, the only way I know to do it, is to redirect the information of the exit code in a file, and then I read that file. But there must be a way to let fortran know the integer that my script return, like put it directly in a variable. Does somebody knows how to do it? Thank a lot Eric __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message