delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <20060809213604.52799.qmail@web53506.mail.yahoo.com> |
Date: | Wed, 9 Aug 2006 14:36:04 -0700 (PDT) |
From: | Jeff Lu <jeff_k_lu AT yahoo DOT com> |
Subject: | system() call returns 127 in windows xp |
To: | cygwin AT sources DOT redhat DOT com |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
I ran into a brick wall and could not find anything on the web and on the post to resolve the problem I'm having, which is a strange one. I have a C program that call system("ls -la > dir.txt") that works fine within bash cygwin. It also has been working on the computers running windows xp without cygwin installed (only required dlls were copied to it). For some reason the program is giving me error 127 when calling system() on the new machines running windows xp without cygwin installed. I have tried everything I could think of but nothing seems to work. I have mouted the drive in the registry as follow mounts v2 cygdrive flags REG_DWORD 0x00000022(34) cygdrive prefix REG_SZ /cygdrive /c flags REG_DWORD 0x0000000a(10) native REG_SZ c: Thanks in advance. -Jeff __________________________________________________ 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |