Article View: borland.public.jbuilder.java.language
Article #694Re: Runtime - external program visibility
From: John McGrath [TeamB]
Date: Tue, 01 Mar 2005 15:19
Date: Tue, 01 Mar 2005 15:19
20 lines
1644 bytes
1644 bytes
On 3/1/2005 at 4:43:50 AM, Oliver wrote:
> String[] cmd =
> { "\"c:/Whatever.exe\"","/user=User","/password=XXX"};
I am not sure if this is related to your problem, but the (\-quoted)
quotes in the first argument should not be there. Adding quotes with the
single string versions of the function would be appropriate, but not in
the String array versions, since the command is already tokenized. I am
somewhat surprised that the program runs at all with the quotes in the
command.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<xn0dz8eig104it3002@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!tdsnet-transit!newspeer.tds.net!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42243956$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,e543362b6f52ec0b X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII-7-bit From: "John McGrath [TeamB]" <ng-b@JPMcGrath.net> Subject: Re: Runtime - external program visibility Newsgroups: borland.public.jbuilder.java.language References: <42243956$1@newsgroups.borland.com> User-Agent: XanaNews/1.17.2.7 Message-ID: <xn0dz8eig104it3002@newsgroups.borland.com> X-Ref: newsgroups.borland.com ~XNS:0000020C MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 NNTP-Posting-Host: 151.197.237.191 Date: 1 Mar 2005 07:19:50 -0800 X-Trace: newsgroups.borland.com 1109690390 151.197.237.191 (1 Mar 2005 07:19:50 -0800) Lines: 20 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!tdsnet-transit!newspeer.tds.net!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail