Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 95495 invoked by uid 500); 18 May 2001 07:07:13 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 95486 invoked from network); 18 May 2001 07:07:09 -0000 Message-ID: <005201c0df69$84a638a0$012a2a0a@seessle.de> From: "Nico Seessle" To: References: <001701c0df53$39c97ec0$62a637d8@novick> <3B04B543.D6F4F5EA@borealissoft.com> Subject: Re: calling dos start Date: Fri, 18 May 2001 09:09:41 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ----- Original Message ----- From: "Boris Garbuzov" To: Sent: Friday, May 18, 2001 7:38 AM Subject: Re: calling dos start > I also have this problem. And I had it before ant sometimes in stand-alone > applications saying > Runtime.getRuntime().exec("mydoscommand"); > Try it in this simple mode first. But I would be curious to hear from > specialists why java sometimes can not create runtime process. What it depends > on? > It depends on the underlying OS. (The following is true for Win2K) The "start"-command is not a standalone command. It is included in the cmd.exe To execute something using the start-command one needs to execute "cmd /c start ". In Ant this reads Nico