Return-Path: X-Original-To: apmail-ant-dev-archive@www.apache.org Delivered-To: apmail-ant-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F01C39FC3 for ; Tue, 3 Jul 2012 02:21:41 +0000 (UTC) Received: (qmail 73602 invoked by uid 500); 3 Jul 2012 02:21:41 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 73555 invoked by uid 500); 3 Jul 2012 02:21:41 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 83676 invoked by uid 99); 29 Jun 2012 15:49:36 -0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of gubs4u@gmail.com) Date: Fri, 29 Jun 2012 08:49:11 -0700 (PDT) From: gubs To: dev@ant.apache.org Message-ID: <1340984951445-5713361.post@n5.nabble.com> Subject: Ant question on sshexec MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have 2 questions. 1) I have a shell script in remote machine to stop and start the job. When i use sshexec command through ant to execute the script the call to the job holds it never stops. It continues..I want to run the job in the back-end Below is the code : when i execute restart.sh in the 92 box the script starting and running in the back-ground. Please correct me what's the issue 2) In other project there are some environment variables in the remote machine. So, when i start the script those environment variables are not getting set and i am getting error. Any ideas ? Gubs -- View this message in context: http://ant.1045680.n5.nabble.com/Ant-question-on-sshexec-tp5713361.html Sent from the Ant - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org