problem with subshells or childs?
Larry Hall (Cygwin)
reply-to-list-only-lh@cygwin.com
Thu Jul 6 15:02:00 GMT 2006
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/
More information about the Cygwin
mailing list