This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: setting CYGWIN=nodosfilewarning not working.
- From: prakash babu <jprakashbabu at yahoo dot co dot in>
- To: cygwin at cygwin dot com
- Date: Thu, 10 Jun 2010 18:54:52 +0530 (IST)
- Subject: Re: setting CYGWIN=nodosfilewarning not working.
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 <eblake@redhat.com> wrote:
> From: Eric Blake <eblake@redhat.com>
> Subject: Re: setting CYGWIN=nodosfilewarning not working.
> To: cygwin@cygwin.com, jprakashbabu@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???eblake@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