This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How can I assign a hotkey to run a cygwin/bash script?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]