🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1486

Detecting when a process is finished

#1486
From: Hanan Hermon
Date: Mon, 31 Dec 2001 06:37
10 lines
1129 bytes
Hi,

I would like to run an external process using Runtime class (exec method)
and get notification when it is done (by blocking or callback).

We are running our application on NT4 and Unix (Solaris).

Can we do that ? If so how ?

Any help will be appreciated,
Technical Details
Message-ID: <3c300794_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!212.43.194.69!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,70f9914a267a876b,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-12-30 22:39:01 PST
From: "Hanan Hermon" <hananh@radcom.co.il>
Newsgroups: borland.public.jbuilder.java.api
Subject: Detecting when a process is finished
Date: Mon, 31 Dec 2001 08:37:11 +0200
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 192.116.176.125
Message-ID: <3c300794_1@dnews>
X-Trace: dnews 1009780628 192.116.176.125 (30 Dec 2001 22:37:08 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!212.43.194.69!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews