On Thu, Jun 10, 2010 at 12:55, 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' > (snip) > > Is there any other way to set the CYGWIN environment variable. >
Yes there are. Try launching like this: C:/cygwin/bin/sh.exe -c "CYGWIN=nodosfilewarning /bin/mkdir -p 'C:/cygwin/tmpdir'" -- ___________ Julio Costa -- 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