delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/03/08:52:19

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: newbie question -- problem with launching shell script files
Date: Wed, 3 Oct 2007 13:38:41 +0800
Lines: 12
Message-ID: <fe02j7$jjc$1@sea.gmane.org>
References: <92af9b620710022153u1d56488erbc58010cc56ad9ef AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.70.2067
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

* Alexey Illarionov (Tue, 2 Oct 2007 21:53:13 -0700)
> I wrote a small script. Here is the content of the 'run.sh'
> 
> #!/bin/sh
> cd /cygdrive/c
> 
> Unfortunately, it does not work. The command './run.sh' does nothing.

Actually it does. You can see that by putting "pwd" at the bottom of 
your script.

Thorsten


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