Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: =?ISO-8859-1?Q?Sven_K=F6hler?= Newsgroups: comp.lang.java.programmer Subject: Re: exec problem is JDK 1.7.0_21 Date: Sun, 21 Apr 2013 00:29:47 +0300 Lines: 10 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: news.dfncis.de vMtjmXLwz6lU6i9ShSEehQ19zQNvq+ODiVzQCu47oE7/Arn1liR+TW17ka Cancel-Lock: sha1:dCfutLSnTOY5SkBhWXW89lxHr7s= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: Xref: csiph.com comp.lang.java.programmer:23540 Am 20.04.2013 23:03, schrieb Joerg Meier: > If you want to supply a single argument that contains a space under > Windows, it needs to be surrounded by quotes. Which is exactly what > ProcessBuilder does. I ask you the same question that I asked markspace: How would you propose to pass two arguments to a program on Windows, if the documentation clearly states, that one should pass an array with exactly two elements to the ProcessBuilder constructor? (The first element of course being the program name)