X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4C10D3D4.8040402@redhat.com> Date: Thu, 10 Jun 2010 06:00:20 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, jprakashbabu AT yahoo DOT co DOT in Subject: Re: setting CYGWIN=nodosfilewarning not working. References: <484684 DOT 61127 DOT qm AT web94502 DOT mail DOT in2 DOT yahoo DOT com> In-Reply-To: <484684.61127.qm@web94502.mail.in2.yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigD209F12D0802BD56A721A681" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enigD209F12D0802BD56A721A681 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 06/10/2010 05:55 AM, prakash babu wrote: > I have a web application which runs as SYSTEM user in windows. > It executes the following command using Java Runtime.exec api's > C:/cygwin/bin/sh.exe -c C:/cygwin/bin/mkdir.exe -p 'C:/cygwin/tmpdir' >=20 > The command executes fine but I get the following warning. Better yet, don't trigger the warning in the first place, by using POSIX paths from the get-go: c:/cygwin/bin/sh.exe -c /cygdrive/c/cygwin/bin/mkdir.exe -p '/cygdrive/c/cygwin/tmpdir' --=20 Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enigD209F12D0802BD56A721A681 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJMENPUAAoJEKeha0olJ0NqWa0H/Ro3W5fLbq7wv5IpUKTQUymC Rcw2VOwpSoe2cS/UCVLcZ7oIM6fph+dbl7DEbUyW5HB+8Y6bqEN60HSNkO+jDvoY VkPKqYeNQQh5z0aYqFJbXT/RESr9BUY6PsOkEBbayB7a0kb6L3y3MTBojljS14sS i8sCoGhmiA6pJtbKblZUst1Lw8qruKeQXqsDapn6Mkn/o8TWuUvAEF7IxaIi6Ek8 jVjj2H0dp2KApoGYGdHwnKQReBsR2iRNSIUNpLvrhDuWINux5urQFCUk4x6jQJRZ NkBG2rrZun+ryjgiwYxQvQ2X9LyXxxCieQW9aJ6jkaQbsmsZ8mp/NgP51nJgW/Q= =jIx9 -----END PGP SIGNATURE----- --------------enigD209F12D0802BD56A721A681--