delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/28/16:05:05

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <25196125.post@talk.nabble.com>
Date: Fri, 28 Aug 2009 13:04:44 -0700 (PDT)
From: jprice <ddjones AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Automating a Cygwin Script From Windows
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 need to run a cygwin script directly via windows, probably via dos prompt
or some other comparable method. This method needs to be automated and
kicked off in Windows at certain times, so executing Cygwin, then manually
typing in the script to run in the Cygwin prompt is out of the question.

I was hoping there would be some way to execute Cygwin and concurrently feed
it a string of commands to execute upon opening, but unfortunately I have
not had success with this. There seems to be lots of command line options
for setting display options but nothing that would allow me to feed in a
command.

Is there any method to do this? Thanks for your time.

-JC
-- 
View this message in context: http://www.nabble.com/Automating-a-Cygwin-Script-From-Windows-tp25196125p25196125.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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

- Raw text -


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