X-Spam-Check-By: sourceware.org
Message-ID: <44AD25DC.7050909@cygwin.com>
Date: Thu, 06 Jul 2006 11:01:48 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060112 Fedora/1.5-1.fc4.remi Thunderbird/1.5 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: problem with subshells or childs?
References: <44ACA975.3070601@hmdc.de> <44ACB2E7.9050203@hotmail.com> <44ACBA79.2060306@hmdc.de> <44AD067E.6030201@byu.net>
In-Reply-To: <44AD067E.6030201@byu.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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

Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> According to ml on 7/6/2006 1:23 AM:
>> sh -c ls works. However, the the original problem was that this little
>> shell script is not working:
>>
>> #!/usr/bin/sh
>> /bin/rsync -Cavz -e "/usr/bin/ssh" /cygdrive/d/ server:/home/ml/backups/
>>
>> Error is:
>> rsync: Failed to exec "ssh: No such file or directory (2)
> 
> How about following directions, and giving us more details by including a
> text attachment of the output of 'cygcheck -svr'?
> 
>> Problem reports:       http://cygwin.com/problems.html

The original posting had the cygcheck information but it was in-lined
unfortunately. :-(  See:

<http://www.cygwin.com/ml/cygwin/2005-05/msg00963.html>

Here's a few things to check Lapo:

   1. Are you sure rsync is complaining about ssh and not one of the other
      parameters?

   2. Does it work when invoked directly from the command line?  Does using
      /bin/sh help?


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

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

