Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2001 07:52:22 -0700 (PDT)
From:      Eric Boucher <eric_boucher60@yahoo.com>
To:        FreeBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Fortran reading exit code: How to do it without...
Message-ID:  <20010518145222.73157.qmail@web9405.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010518145222.73157.qmail>