Path: csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: Steven Simpson Newsgroups: comp.lang.java.programmer Subject: Re: exec problem is JDK 1.7.0_21 Date: Thu, 25 Apr 2013 10:19:04 +0100 Organization: A noiseless patient Spider Lines: 24 Message-ID: <819n4a-9id.ln1@s.simpson148.btinternet.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: mx05.eternal-september.org; posting-host="847c23adf71594bde0de355f9bb56936"; logging-data="21727"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jfXy6qp1uDJg5ChKClWkXiYiC+tBY4no=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 In-Reply-To: Cancel-Lock: sha1:jyWLPgFxFcW0SCZCcCAFTHwfdkc= Xref: csiph.com comp.lang.java.programmer:23645 On 25/04/13 09:49, Sven Köhler wrote: > On 04/25/2013 12:24 AM, Steven Simpson wrote: >> On 24/04/13 11:11, Sven Köhler wrote: >>> I will try to check tonight on Windows 7 using mingw64. Are you sure, >>> you haven't mixed char and wchar strings? >> >> I don't think so. If I had, I wouldn't expect anything coherent. > > Let's forget about CommandLineToArgvW. It's broken (doesn't implement > what is documented) and it doesn't distinguish between inner and outer > quotes. Agreed. > The proper documentation about how microsoft (and apperently mingw32 > and mingw64) do the command line tokenization is available here: > > http://msdn.microsoft.com/en-us/library/a1y7w461.aspx Good. -- ss at comp dot lancs dot ac dot uk