🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7673

Get program id from java

#7673
From: Russell
Date: Tue, 05 Jun 2001 04:18
14 lines
1232 bytes

 Hi all , I am using RedHAt6.1 ,jbuilder3.5 and jdk1.3.
 
 Is there are any classes in Java which can retrieved the program id
from the application which i have executed.
  
  I have the code below to execute application in RedHat.

    p = Runtime.getRuntime().exec(cmd);   

  Is there any ways to get the program id ??

  Anybody have any ideas ?? Thanks for your info.
Technical Details
Message-ID: <3B1C5D8E.36A4A8C4@cesmainternational.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,12a44754146f6396,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-04 21:29:38 PST
Message-ID: <3B1C5D8E.36A4A8C4@cesmainternational.com>
Date: Tue, 05 Jun 2001 12:18:22 +0800
From: Russell <weetat@cesmainternational.com>
X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.13-0.13 i686)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language
Subject: Get program id from java
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 203.126.155.39
X-Trace: dnews 991714732 203.126.155.39 (4 Jun 2001 21:18:52 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews