delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=1.3 required=5.0 tests=AWL,BAYES_20,BOTNET,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RCVD_IN_HOSTKARMA_YE,TW_JB |
X-Spam-Check-By: | sourceware.org |
Message-id: | <51408F93.9010800@cygwin.com> |
Date: | Wed, 13 Mar 2013 10:39:15 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-to: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 |
MIME-version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Run windows script remotely using Cygwin? |
References: | <CAGLq9wgU8FjZkv94RQeJM4TTWjeLy1c73iNbmZbb0UaZ67p_Mw AT mail DOT gmail DOT com> |
In-reply-to: | <CAGLq9wgU8FjZkv94RQeJM4TTWjeLy1c73iNbmZbb0UaZ67p_Mw@mail.gmail.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 3/13/2013 3:30 AM, Gokulnath Arjunan wrote: > Hi, > > Below is my setup. > > Windows servers 2008 which is running some jboss applications. > I have Cygwin installed with SSH setup > I can login to windows server from any other linux machine using ssh. > > Use case: I am able to run the dos scripts using cygwin on the machine > and it is opening the dos command window (process window which runs > jboss application) > I am able to run the same dos script from remote > machine (linux) and it is triggering the process in the background (i > cannot see process windows on windows machines) > > Requirement: I wanted to run the dos script remotely but i need to > open the process window instead of background process. > > How can i achieve this using Cygwin? Do i need additional plugin for this? Allowing this is controlled by Windows, not Cygwin (though there is a switch, -i, on cygrunsrv which toggles this on for a service being installed). But Windows severely limits the ability to do this post-XP. So, if you're on XP, you may have some luck setting this flag in Windows and getting it to work. Otherwise, there's no easy way to make this work. If the need is just to see the output of the script, perhaps redirecting it to a file would be an alternative. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |