delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/06/16:08:38

X-Recipient: archive-cygwin AT delorie DOT 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 DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How can I assign a hotkey to run a cygwin/bash script?
References: <8p21r4pui1dgbl8q2ovpvcsharaburle84 AT 4ax DOT com> <49B09CE9 DOT 1060500 AT gmail DOT com> <0A4ADB2148EA2948B9FFFB980FA0D22F0589F52F AT djexchange DOT dickey-john DOT com> <49B1470C DOT 3000107 AT gmail DOT com> <0A4ADB2148EA2948B9FFFB980FA0D22F0589F58F AT djexchange DOT dickey-john DOT com> <183c528b0903060948u13d666baief05951f83c4705a AT mail DOT gmail DOT com> <0A4ADB2148EA2948B9FFFB980FA0D22F0589F83C AT djexchange DOT dickey-john DOT com>
In-Reply-To: <0A4ADB2148EA2948B9FFFB980FA0D22F0589F83C@djexchange.dickey-john.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

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/

- Raw text -


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