delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/01/07:02:04

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <c2888f8c0809010401u7b11a0f2l8fa1de1d783acc2c@mail.gmail.com>
Date: Mon, 1 Sep 2008 12:01:18 +0100
From: "Robert McKay" <robert AT mckay DOT com>
To: cygwin AT cygwin DOT com
Subject: Running 64bit processes from 32bit Cygwin
In-Reply-To: <c2888f8c0809010357q374917anc86923728ab243b5@mail.gmail.com>
MIME-Version: 1.0
References: <c2888f8c0809010357q374917anc86923728ab243b5 AT mail DOT gmail DOT com>
X-Google-Sender-Auth: 1903a209533e5454
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

Hi all,

I have a problem with running powershell scripts from within cygwin..
basically no matter what I do it always ends up running the powershell
process as 32bit when invoked from within Cygwin. This normally
wouldn't make a difference, but I need to use a powershell extension
that only exists for 64bit powershell. There isn't really anything
powershell specific about this question though;

Can anyone tell me for sure that it's impossible to run a 64bit
windows process from 32bit Cygwin? Or rather.. is it possible to spawn
a 64bit process from Cygwin and have it not be trapped inside WoW64
emulation? It seems as though once you're inside WOW64, you can't
readily escape from it? I wonder if it would be possible to ask the
explorer process to spawn something for you (possibly via a com
message?) rather than using WinExec(). If so a utility to facilitate
such process spawning would be a very useful addition to Cygwin.


Rob.

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