Article View: borland.public.jbuilder.java.language
Article #19591Exit codes, values?
From: Adam Stiles
Date: Mon, 26 Jan 1998 00:00
Date: Mon, 26 Jan 1998 00:00
8 lines
784 bytes
784 bytes
I've written a simple Java application that retrieves a URL that is passed on the command-line. I would like the Java app to return a status to the calling program (UNIX shell), something like an exit code or return value. Is there an easy way to do this? I just want to be able to notify the calling program whether the URL was successfully retrieved or not. Adam
Technical Details
Message-ID:
<6aif2n$r744@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,2dda1bca56b203a3,start X-Google-Attributes: gidf74b3,public From: "Adam Stiles" <adam@dpssoft.com> Subject: Exit codes, values? Date: 1998/01/26 Message-ID: <6aif2n$r744@forums.borland.com> X-Deja-AN: 319412097 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: None Newsgroups: borland.public.jbuilder.java.language