πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Calling applis from an appli

#8776
From: icsd.jt
Date: Sat, 03 Mar 2001 15:30
38 lines
2531 bytes
Thank for the explanations.
I think the rt.exec is not the good way for my problem :
In fact , I have about 12  littles applications wich use the same
library and the same database (Interbase 6) : they are
separated for more maintenance facility and they use
in general differents tables. They are each launched by
a different .bat ( make with the copy of the F9 command
and they  ask approximatively 15 seconds to appear )
I want just grouping this applications in one alone or make
an super main menu for reduce the chargement time.
It ' s possible ? and how .
Thank for ideas, Jacques


"John McGrath [TeamB]" <ng-b@JPMcGrath.net> a οΏ½crit dans le message news:
MPG.150a9aa7fc92fce5989ffc@forums.borland.com...
> On Sat, 3 Mar 2001 08:47:39 +0100, icsd.jt@wanadoo.fr wrote:
>
> > I tested a rt-exec('... my bat) and to import the
> > packages of these applis but without success.
>
> Can you post the code that you tried?  Runtime.exec() should be able to
> run a batch file.
>
> This is just a guess, but were you expecting the output from the batch
> file to go to the console?  The standard output and standard error from
> a process create by Runtime.exec() gets piped back to the Java process.
> You can use the Process getInputStream and getErrorStream() methods to
> read the output from the process.
>
> --
> Regards,
>
> John McGrath [TeamB]
>
> ---------------------------------------------------
> Before sending me e-mail, please read:
>     http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <3aa10cea$1_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp1.njy.teleglobe.net!teleglobe.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!193.252.62.85
References: <3aa0a077_1@dnews> <MPG.150a9aa7fc92fce5989ffc@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,ec6af10449d9afc3
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-03 07:44:06 PST
Reply-To: <icsd.jt@wanadoo.fr>
From: <icsd.jt@wanadoo.fr>
Newsgroups: borland.public.jbuilder.java.language
References: <3aa0a077_1@dnews> <MPG.150a9aa7fc92fce5989ffc@forums.borland.com>
Subject: Re: Calling applis from an appli
Date: Sat, 3 Mar 2001 16:30:25 +0100
Lines: 40
Organization: ICSD - JaC
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 193.252.62.85
Message-ID: <3aa10cea$1_2@dnews>
X-Trace: 3 Mar 2001 07:25:30 -0800, 193.252.62.85
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp1.njy.teleglobe.net!teleglobe.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!193.252.62.85