Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 8460 invoked from network); 15 Aug 2005 13:26:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Aug 2005 13:26:27 -0000 Received: (qmail 73914 invoked by uid 500); 15 Aug 2005 13:26:21 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 73867 invoked by uid 500); 15 Aug 2005 13:26:20 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 73854 invoked by uid 99); 15 Aug 2005 13:26:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Aug 2005 06:26:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [64.235.234.14] (HELO chiron.lunarpages.com) (64.235.234.14) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Aug 2005 06:26:40 -0700 Received: from zammet2 by chiron.lunarpages.com with local (Exim 4.50) id 1E4eyn-0005B0-NP; Mon, 15 Aug 2005 06:26:17 -0700 Received: from 12.27.179.239 ([12.27.179.239]) (SquirrelMail authenticated user fzlists@omnytex.com) by webmail.chiron.lunarpages.com with HTTP; Mon, 15 Aug 2005 09:26:17 -0400 (EDT) Message-ID: <39969.12.27.179.239.1124112377.squirrel@webmail.chiron.lunarpages.com> In-Reply-To: <43002EAE.6010905@beyondm.net> References: <42FFB5CA.3050601@htp-tel.de> <43002EAE.6010905@beyondm.net> Date: Mon, 15 Aug 2005 09:26:17 -0400 (EDT) Subject: Re: Open a shell and run a batchfile From: "Frank W. Zammetti" To: "Ant Users List" Cc: "Ant Users List" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - chiron.lunarpages.com X-AntiAbuse: Original Domain - ant.apache.org X-AntiAbuse: Originator/Caller UID/GID - [32746 1232] / [47 12] X-AntiAbuse: Sender Address Domain - omnytex.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Even better! I hadn't seen that. One suggestion... adding spawn="true" to the exec tag should cause the script to continue even while the spawned window has not been closed... yep, just tried it, at least on XP that's the case. Frank On Mon, August 15, 2005 1:57 am, Ruchira Amarasinghe said: > Hi Frank, > My suggestion to a similar question "How to exec a command in a new > window?" is : > http://mail-archives.apache.org/mod_mbox/ant-user/200207.mbox/%3c3D48A461.7070000@beyondm.net%3e > > quoting the above: > >>Try something like, >> >> >> >> >> >>The 'start' opens a new window. But ant won't exit until all windows >>created are closed. >> > Regards, > Ruchira > > > Frank Schaare wrote: > >> Hi, >> >> i´d like to automate some tasks under Win 2000 Server. A dos box >> should open and a batch file should be executed therwith the user can >> read the batchfiles output. >> >> There are tons of examples like this: >> >> >> >> >> i´ve tried several mutations of these examples, but none of them >> opened the expectet cmd-box for me. >> >> In fact, tis topic should be FAQ, but i searched the arcives until >> 2000 without finding a suitable answer. >> >> Is it possible to open a cmd-box in Win2K Server ? Do you know any >> relatet threads, articles, sites etc which deal with this problem ? >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >> For additional commands, e-mail: user-help@ant.apache.org >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org