This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE:system not working as expected



--- 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@yahoo.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]