Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3B4C22D4.B87A8DDC@acris.co.uk> Date: Wed, 11 Jul 2001 10:56:36 +0100 From: Julian Hall X-Mailer: Mozilla 4.7 [en-gb] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Java Runtime.exec() Content-Type: multipart/mixed; boundary="------------A4A4F62DC3A4EC7C72C7F3D1" --------------A4A4F62DC3A4EC7C72C7F3D1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, From the description of your problem, it is that you are unable to run a shell script (ie, a file that starts '#!/....some interpreter'). This is due to the fact that this file format is not understood by Windows, and Cygwin has to do some interpretation of the file to make it work. The JVM is not using the Cygwin exec functions. There are a few possible solutions, depending on how well you need the function to perform. If you know what the interpreter of your script is, you can just call Runtime.exec("