🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: retrieving standard program path from Windows

#219
From: Paul Nichols (TeamB)
Date: Thu, 15 Sep 2005 03:11
14 lines
1732 bytes
"Shankar Unni" <shankarunni@netscape.net> wrote in message
news:42adc921$1@newsgroups.borland.com...
> Oliver wrote:
>
> > thank you both. I have one little remaining question:
>  > how can i read from the OutputStream?
>
> Whoops. I meant Process.getInputStream(), which contains the output of
> the process. Read from it like any other InputStream.

Once you get the InputStream class, you read it as you would any other
InputStream. I would recommend you place it in a BufferedStream type class
however (like BufferedReader).
Technical Details
Message-ID: <43279121$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <42a6f2ac$1@newsgroups.borland.com> <42a794b6$1@newsgroups.borland.com> <42a7a445$1@newsgroups.borland.com> <42a7fa07$1@newsgroups.borland.com> <42a8c04b$1@newsgroups.borland.com> <42aa1df9$1@newsgroups.borland.com> <42ad9e43@newsgroups.borland.com> <42adc921$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1089d0,b523e2611fbd7782
X-Google-Attributes: gid1089d0,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Paul Nichols \(TeamB\)" <paul@comp.net>
From: "Paul Nichols \(TeamB\)" <paul@comp.net>
Newsgroups: borland.public.jbuilder.java.api
References: <42a6f2ac$1@newsgroups.borland.com> <42a794b6$1@newsgroups.borland.com> <42a7a445$1@newsgroups.borland.com> <42a7fa07$1@newsgroups.borland.com> <42a8c04b$1@newsgroups.borland.com> <42aa1df9$1@newsgroups.borland.com> <42ad9e43@newsgroups.borland.com> <42adc921$1@newsgroups.borland.com>
Subject: Re: retrieving standard program path from Windows
Date: Wed, 14 Sep 2005 22:11:10 -0500
Lines: 18
Organization: clc
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 71.8.69.112
Message-ID: <43279121$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1126666529 71.8.69.112 (13 Sep 2005 19:55:29 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail