delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/26/00:00:37

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
Message-ID: <426DBCC3.6030909@awcubed.com>
Date: Tue, 26 Apr 2005 00:00:03 -0400
From: Archie Warnock <warnock AT awcubed DOT com>
Organization: A/WWW Enterprises
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: =?ISO-8859-1?Q?Ren=E9_Berber?= <rberber AT prodigy DOT net DOT mx>
Cc: cygwin AT cygwin DOT com
Subject: Re: system() fails on pristine Windows systems
References: <426D5CAB DOT 2070804 AT awcubed DOT com> <d4jrnk$hkk$1 AT sea DOT gmane DOT org> <426DB60B DOT 9090004 AT awcubed DOT com> <d4kdkn$5jn$1 AT sea DOT gmane DOT org>
In-Reply-To: <d4kdkn$5jn$1@sea.gmane.org>
X-IsSubscribed: yes

René Berber wrote:
> I don't know if it works but I would try to use popen(), there's also
> exec() and all it's relatives.

I'll try popen.  I'm not inclined to use anything from exec or spawn - I
don't want to replace the program.  I just need to run an external
program and read the results back in.

> 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.

I understand.  Thanks.

-- 
Archie

-- Archie Warnock                       Internet: warnock AT awcubed DOT com
-- A/WWW Enterprises                    http://www.awcubed.com
--       As a matter of fact, I _do_ speak for my employer.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019