delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/26/14:35:33

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Ngz7DqpvdvmHpuZ9
FZ7qo39jUrK2tF67QqkX9cj09qzftnZLThBNZ9/CdVRjMDoJahVkxIwCUD+rEarj
thG8gWxhpSGAs7Xq4fnp2CzFJUyiBrkjyxQR4WTyXw7fZMsd557a3B1xZ7OmsJ8F
BB4WMZQCKhIYXdkw3s5RUADYTiE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=7+y3RekA6uU7bEakDZH+Uk
eTkVI=; b=NheMVnCflrNQdVL+wzkKIti8EdD76WQBsLQ31LmsNeUd/8w731UTZu
RjY7nd1MWjlbRzAUcIUpnP4lzG4lVkSbDvbo/spty0cT4DJRUq5UrJmVAZha5WWw
Ize8HYbhMK549eNOqHpsYxqgvo++JnQ+FD/QW8Jq9R0js1lYVdY/g=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_40,SPAM_SUBJECT autolearn=no version=3.3.2
X-HELO: vms173013pub.verizon.net
Message-id: <52447E31.60006@cygwin.com>
Date: Thu, 26 Sep 2013 14:34:25 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Run bash script in cmd with cygwin
References: <CACOaVDt1UgN2X5XkHf4HcGB2gQQqLKD3QcHZiY5gnpeciCarnA AT mail DOT gmail DOT com> <1296293740 DOT 20130925211640 AT mtu-net DOT ru> <CACOaVDt_cpOzE0M3ABtoFk622YUt-wJ5H5onkLfVQ_R5e_03kw AT mail DOT gmail DOT com>
In-reply-to: <CACOaVDt_cpOzE0M3ABtoFk622YUt-wJ5H5onkLfVQ_R5e_03kw@mail.gmail.com>

On 9/25/2013 5:25 PM, Ulrich Pogson wrote:
> Thanks for your help
>
> I got it to work with this line.
> I: & cd I:\Work\GitHub\responsive\languages & c:\cygwin64\bin\bash -c
> \cygdrive\i\Work\GitHub\responsive\languages\potomo.sh
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Cygwin prefers POSIX paths and separators.  You should prefer / over \
for this final path.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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