X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49B19301.8010209@gmail.com>
Date: Fri, 06 Mar 2009 21:17:53 +0000
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: How can I assign a hotkey to run a cygwin/bash script?
References: <8p21r4pui1dgbl8q2ovpvcsharaburle84@4ax.com> 	 <49B09CE9.1060500@gmail.com> 	 <0A4ADB2148EA2948B9FFFB980FA0D22F0589F52F@djexchange.dickey-john.com> 	 <49B1470C.3000107@gmail.com> 	 <0A4ADB2148EA2948B9FFFB980FA0D22F0589F58F@djexchange.dickey-john.com> <183c528b0903060948u13d666baief05951f83c4705a@mail.gmail.com> <0A4ADB2148EA2948B9FFFB980FA0D22F0589F83C@djexchange.dickey-john.com>
In-Reply-To: <0A4ADB2148EA2948B9FFFB980FA0D22F0589F83C@djexchange.dickey-john.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Arun Biyani wrote:
>>> http://directedge.us/content/winhotkey
>>> 
> 
> When I execute "minty" using winhotkey, I get
> 
> bash: [: too many arguments This is BASH 3.2                 - DISPLAY on
> tty1         Mar  5 07:27:0.0
> 
> Fri Mar  6 12:51:45 PST 2009 [Home$:500]
> 
> 
> 
> This does not happen when I execute mintty directly (or via windows hot 
> key, when that works). I am not supplying any arguments. They are all set
> to start in the same directory.

  Something's wrong in the path or environment, or in the command-line
options.  Add the "-x" flag to your invocation of bash and we'll see what's
going wrong.

    cheers,
      DaveK

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

