Subject: RE:system not working as expected
From: Robert Legros <[email-masked]>
To: Jorge Goncalvez <[email-masked]>
Cc: [email-masked]
Date: Thu, 4 Oct 2001 08:36:59 -0700 (PDT)

--- 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
[email-masked]

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