X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=BB+vygDEos0zBJqcoyidaknn1F7gXx0oIr24MPDyKlL
	9+r2TP9Jl0aFVuAzELp3kaNA9/QQp7mT5iSBRpazHXvZJz6op9sqhjVWAypVuhdF
	NbcUXc0AaYDB16AXdLL6NDjkBrGGgZ1+PDDYcI1JTsFhCx01nvsxgM+bBdS/Npe0
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=GHrkHb1etedQA4+XNlJDs7rmwSc=; b=BvjytBdPfSiU+KS9h
	OX1gyoDTJg4rHdVsAm8JW25r9wAE2itgGMKi3SwAyX7D34Oo4FNv1qI+2YsXk1HR
	j3+y10p09gNdehSuAhrO6cx6IWsdfUIRcLCTuctmlpqvlGUJk8Dml363M3+byeDo
	uWaqTjR/O3k4ftbcZcSQzdXP0Q=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f181.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to         :subject:references:in-reply-to:content-type         :content-transfer-encoding;        bh=5EVSAJXqd5sFBdQTBow0LiwWpZRTws8LkhozK1qxLSE=;        b=hatZ6R2F74ygsdqrioE/W2i4/QbP9jaFsw2iYkrCtR+cS+AeqpbICVTJdQlfgVFRB9         rToMALWLZH5apA0wHxy7r6QhUDgO3chnErhrl8J0AMLcuWysu+mhPrC4sIxocQnLmTRa         PCB1bLxmUtfCZwa7f9iID77OXWw6+TDWkguNUU9xm04WJEF+BSojXWT+DnK5mYwOP2+M         aa3HwQpfJZ0i7u3Aivo5u/1TegGWtEpaA+LZtvZRH3v1gU9VJi94l6BPl77tl/xhC/7B         Bpj7cOqTZqD6sfNi4xMmsojHhVaJd4X7No6DuaPn29+kmU2mWS+y5mc1ncFHSaJ1dXC1         dDaA==
X-Gm-Message-State: ALoCoQlnS52XkfwTHoimuQk3lXNC7Cztv8oNTbIDsQBojxvVr4sU1A7HT4zKkt0psMHv2ifP7ZHz
X-Received: by 10.42.92.194 with SMTP id u2mr50765563icm.19.1395686648428;        Mon, 24 Mar 2014 11:44:08 -0700 (PDT)
Message-ID: <53307C7F.7030600@breisch.org>
Date: Mon, 24 Mar 2014 14:42:07 -0400
From: "Chris J. Breisch" <chris.ml@breisch.org>
User-Agent: Postbox 3.0.9 (Windows/20140128)
MIME-Version: 1.0
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: SQL server utility not working when invoked(from a asp.net application) using cygwin
References: <CAN=kAG7tkCxitPj+5k+otz+Sugyjep-KgJ=sq+oyTYquSdaMRQ@mail.gmail.com> <532F2E28.8020406@breisch.org> <533079D8.3000703@breisch.org>
In-Reply-To: <533079D8.3000703@breisch.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Chris J. Breisch wrote:
> Without additional details on what is or isn't happening, this is as
> much assistance as I can provide.
>

I lied. I had one more thought.

Your username, password, database name, sql server name don't contain 
characters that are special to bash, do they? Of the four, password is 
the most likely.

But a password might contain any of ~!@#$%^&*()+`-{}[]|\:";'<>,.?/ or 
even <space>

Any of those could cause problems in your script if they're not properly 
quoted/escaped.

Hoping the filter doesn't eat this because of use of the p-word.

-- 
Chris J. Breisch

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

