Hi,
Having problem invoking this command.
The code looks like the following
ProcessBuilder pb = new ProcessBuilder(pExecutableArgs);
pb.start();
where pExecutableArgs is a List which contains
[c:\WINDOWS\system32\net.exe, start, SQL Server (ABC)] e.g. a list
with three elements.
It appears to be choking on the spaces on "SQL Server (ABC"). I've
tried quoting this but that doesn't work either. Any ideas?
Hoss Spence - 02 Apr 2008 15:20 GMT
> Hi,
>
[quoted text clipped - 11 lines]
> It appears to be choking on the spaces on "SQL Server (ABC"). I've
> tried quoting this but that doesn't work either. Any ideas?
Oops... sorry for post. Quotes worked.
Roedy Green - 02 Apr 2008 15:27 GMT
On Wed, 2 Apr 2008 07:13:06 -0700 (PDT), Hoss Spence
<hossspence@hotmail.com> wrote, quoted or indirectly quoted someone
who said :
>It appears to be choking on the spaces on "SQL Server (ABC"). I've
>tried quoting this but that doesn't work either. Any ideas?
That is unbalanced. Please post your actual code. The devil is in the
details.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com