delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/11/00:49:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <23975256.post@talk.nabble.com>
Date: Wed, 10 Jun 2009 21:49:17 -0700 (PDT)
From: Chap Harrison <clh AT pobox DOT com>
To: cygwin AT cygwin DOT com
Subject: Remote execution of shell script from DOS .bat file
MIME-Version: 1.0
X-IsSubscribed: yes
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

I've written a Perl program that runs in Cygwin on a Windows Server 2003 box. 
I now need to make this program invokable from a DOS prompt on another
WS2003 box.

The program is not interactive.  You give it the args on the command line,
and off it goes.  Output is a text file in some network-shared directory.

I know very little about Windows or DOS, and not a lot about connecting
remotely to Cygwin.

Should I be thinking along the lines of having a BAT file make an ssh
connection to Cygwin and pass in a command to execute?  

Thanks!
Chap


-- 
View this message in context: http://www.nabble.com/Remote-execution-of-shell-script-from-DOS-.bat-file-tp23975256p23975256.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019