True, but what about existing applications. Since this warning comes in the 
error stream the command is considered as failed in the existing application.

thanks,
Prakash

--- On Thu, 6/10/10, Eric Blake <ebl...@redhat.com> wrote:

> From: Eric Blake <ebl...@redhat.com>
> Subject: Re: setting CYGWIN=nodosfilewarning not working.
> To: cygwin@cygwin.com, jprakashb...@yahoo.co.in
> Date: Thursday, June 10, 2010, 5:30 PM
> 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'
> > 
> > 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'
> 
> -- 
> Eric blake   ebl...@redhat.com 
>   +1-801-349-2682
> Libvirt virtualization library http://libvirt.org
> 
> 




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to