delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/15/21:41:46

X-Spam-Check-By: sourceware.org
Message-ID: <20060416014133.40463.qmail@web38110.mail.mud.yahoo.com>
Date: Sat, 15 Apr 2006 18:41:33 -0700 (PDT)
From: The One <i51359 AT yahoo DOT com>
Subject: Re: Not sure what the problem is...
To: cygwin AT cygwin DOT com
In-Reply-To: <44419C24.37C47161@dessent.net>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

dah, thanks brian
it's missing sh.exe on the system.

--- Brian Dessent <brian AT dessent DOT net> wrote:

> The One wrote:
> 
> > Well, I'm runing the program on computer that does
> not
> > have cygwin installed.  I just put a copy of the
> > cygwin1.dll in the windows path.
> 
> How do you expect this to work if you don't have
> Cygwin installed?  At
> the very least you'll need /bin/sh and /bin/ls,
> since system("foo") just
> calls '/bin/sh -c "foo"'.  Have you checked the
> return value of
> system()?  Always check return values.
> 
> > I couldn't get it to recognize /cygdrive/c/mydir
> or
> > /c/mydir since cygwin is not installed on the
> > computer.  I tried adding the mount v2 info in the
> > registry but that didn't work.  I would appreciate
> > very much if you can help me to get it to
> recognize
> > posix path.
> 
> /cygdrive is the default, so it shouldn't matter
> that there is no mount
> table.  (By the way, always use mount and umount
> instead of manipulating
> the registry directly.)  I don't think posix vs.
> win32 paths is actually
> the problem here, and "c:/mydir" ought to work for
> what you're trying to
> do... it's just not a great habit to get into.
> 
> Brian
> 
> --
> 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/
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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