X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <482CB5B6.3040002@chiptech.co.nz>
Date: Fri, 16 May 2008 10:14:14 +1200
From: Volker Kuhlmann <volker@chiptech.co.nz>
User-Agent: Thunderbird 2.0.0.12 (X11/20080226)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Makefile command interpreter
References: <482BAAB9.6080102@chiptech.co.nz> <20080515080556.GA6514@trikaliotis.net>
In-Reply-To: <20080515080556.GA6514@trikaliotis.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

>> Setting export SHELL=cmd.exe
>> calls cmd.exe alright, but then sits there forever waiting for input.
> 
> Just a wild guess, as I have not tested this:
> 
> Have you tried cmd.exe with the /c switch? If cmd.exe is called without
> that switch, it expects input from the standard input (console).

Yes, tried that, the result always is

    '-c' is not recognized as an internal or external command,
    operable program or batch file.

Something is messing with the argument list.

No difference between these two there:

    SHELL=cmd.exe /C
    SHELL:=/cygdrive/c/windows/system32/cmd.exe -- /C

Looks like that might be on the right track, but how do I get arguments 
across verbatim?

Thanks,

Volker

-- 
Volker Kuhlmann <volker.kuhlmann@chiptech.co.nz>
Chiptech Ltd, PO Box 41088, Ferrymead 8247, New Zealand
11a Settlers Crescent, Christchurch 8023
ph +64 3 384 7788, fax +64 3 384 7789

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

