delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/09/15:19:32

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: <427FB7B2.8040903@mscha.nl>
Date: Mon, 09 May 2005 21:19:14 +0200
From: Michael Schaap <mscha AT mscha DOT nl>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Fixing strace and cygcheck so that they work with mount -X
References: <427BE5FE DOT 7020000 AT fabeljet DOT com> <cb51e2e0505071711201152ca AT mail DOT gmail DOT com> <20050508003215 DOT GA24398 AT trixie DOT casa DOT cgf DOT cx> <cb51e2e0505081248560c07c8 AT mail DOT gmail DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0505081605450 DOT 21700 AT slinky DOT cs DOT nyu DOT edu> <20050508230637 DOT GD3896 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT GSO DOT 4 DOT 61 DOT 0505081958360 DOT 21700 AT slinky DOT cs DOT nyu DOT edu> <20050509002126 DOT GH3896 AT trixie DOT casa DOT cgf DOT cx> <20050509022611 DOT GA7850 AT trixie DOT casa DOT cgf DOT cx> <427F9C41 DOT 1000605 AT acm DOT org>
In-Reply-To: <427F9C41.1000605@acm.org>

On 9-May-2005 19:22, David Rothenberger wrote:

> On 5/8/2005 7:26 PM, Christopher Faylor wrote:
>
>> On Sun, May 08, 2005 at 08:21:26PM -0400, Christopher Faylor wrote:
>>
>>> Ultimately, I just have to make strace and cygcheck understand the
>>> cygwin arguments and environment variables. Then we won't need this.
>>
>>
>> I would appreciate it if people would check out the latest snapshot to
>> verify if I actually got this working in all scenarios (directories
>> mounted with -X, -x, not mounted at all, or mounted without -X and -x).
>
>
> Does cygstart also need to be fixed? I've found that it doesn't
> propagate the full Cygwin environment when /bin is mounted in cygexec
> mode.
>
> % cygstart -- /bin/rxvt -e bash -c "'env; read x'"
>
> prints out a small set of environment variables when /bin is mounted
> in cygexec. When /bin is mounted normally, it gets the full environment.
>
Well, cygstart is a proper Cygwin executable. However, it does use a
Windows API call (ShellExecute, see "cygstart --reference") to execute
whatever needs to be started, so I can see how it might depend on a
properly synchronized Windows environment.

If anyone can tell me how to do this, I'll be happy to make the change
to cygstart.

– Michael


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