delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/04/11:37:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20011004153659.17160.qmail@web11507.mail.yahoo.com>
Date: Thu, 4 Oct 2001 08:36:59 -0700 (PDT)
From: Robert Legros <robert_legros AT yahoo DOT com>
Subject: RE:system not working as expected
To: Jorge Goncalvez <goncal11 AT col DOT bsf DOT alcatel DOT fr>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <200110041522.RAA12697@cabs40.col.bsf.alcatel.fr>
MIME-Version: 1.0

--- Jorge Goncalvez <goncal11 at col dot bsf dot
alcatel dot fr> wrote:
> I tried this but it doen't work.
> 

It also took some time for me to let it work ...
I do run on Windows 98, NT and 2000. Please put your
application, 'cygwin1.dll' and 'sh.exe' in the same
directory. Then write your system call as follows :
        system(
                "PATH=/usr/bin:/usr/local/bin"
                " "
                "some_command_to_execute"
        );

It does work for me.

Best Regards,


=====
Robert Legros
south Brussels, Belgium
robert_legros AT yahoo DOT com

__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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