Not sure what the problem is...
The One
i51359@yahoo.com
Sun Apr 16 03:00:00 GMT 2006
dah, thanks brian
it's missing sh.exe on the system.
--- Brian Dessent <brian@dessent.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/
More information about the Cygwin
mailing list