| delorie.com/archives/browse.cgi | search |
| 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 |
| To: | cygwin AT cygwin DOT com |
| From: | =?ISO-8859-1?Q?Ren=E9_Berber?= <rberber AT prodigy DOT net DOT mx> |
| Subject: | Re: system() fails on pristine Windows systems |
| Date: | Mon, 25 Apr 2005 22:53:02 -0500 |
| Lines: | 18 |
| Message-ID: | <d4kdkn$5jn$1@sea.gmane.org> |
| References: | <426D5CAB DOT 2070804 AT awcubed DOT com> <d4jrnk$hkk$1 AT sea DOT gmane DOT org> <426DB60B DOT 9090004 AT awcubed DOT com> |
| Mime-Version: | 1.0 |
| X-Complaints-To: | usenet AT sea DOT gmane DOT org |
| X-Gmane-NNTP-Posting-Host: | 201.138.30.90 |
| User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
| In-Reply-To: | <426DB60B.9090004@awcubed.com> |
| X-IsSubscribed: | yes |
Archie Warnock wrote: [snip] > So, what would be the right way to call an external program from a > Cygwin program without installing Cygwin, if not system()? I don't know if it works but I would try to use popen(), there's also exec() and all it's relatives. > I also find it somewhat puzzling that it works on my development > machines even though /bin/sh isn't anywhere along in the path of the > Windows command shell. Registry perhaps, the cygwin1.dll has to set a sane environment for itself, it probably gets the location of the Cygwin installation plus the mount table and some environment variables. -- René Berber -- 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 |