X-Recipient: archive-cygwin AT delorie DOT 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:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=CgAvZkiwjkQgkM07Tco2yW9WYZIBF qFZanobpi8w8ojxkQcWpfGsfKHumQNH6a1KfAJBOHcw9P0Z37SPUMjXi+FWCNDGe pHdlQfXkoo2CXPIRVg6+4b5ZiLnbs/BBG11LpGn61O/7CSwZz+vIknb+XlPnJF4T DbnyqSKHoXwDuM= 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:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=xxwHKaEq4jfSIa/c6P2QvLNpZVU=; b=F/5 ncighQzs7D7huFNb9/X3dueFYdzL6DX763SvBkULFK2J4v2Ry9QK3zQkeGEk9+VU YB+xsurD8goqG/tutA4JP7FHABbQIBctVU3lYEu7iJfMkLnNyiNJU4Yx54lyjzkV 2Jf25VhPSddTJyqur+ywMopqPegZ3j4qFW1z0nyA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-ig0-f180.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=mQUPBVBWMYyEmaE/VHEh8KwB9Rkgny40yNzE9lWbmV0=; b=Cj29sGAP+X27uNFijk6GSIb+21iEExJrLzQj4MIdKIx335ipnZZN/h+lPBlXvV+hC5 bcQ8riuRmGWIrf5pZ0qgiccv/rFBasY25n1Fk4PmddlpwWLffImL13zEo+t8S5r3y7wu 4JuShjN2CEQOmpwBNioSJ0Za188B4xuIW4JQguz+6ODSdxU7IGcT0lrvAdRpXaSAyGuy ngvWmG8oyJR0lQVSA6rl9rPCMuOm8MlItghyBpETtW7yELzd/09IZTUKqr53Fo9aQkzT IvmUrjYQ0fDvSggqFOR3fi9SaxkgMOZu2DQS5JSk7TmfLnShlRPUntocrRUV6FZ0KvsU jhgg== X-Gm-Message-State: AD7BkJJ4yws844xPmVO2aDrWfv+LPi5PsYTo3fmtc90s3ZCaq0T3ukXJbIUjC22eT9BLyNDsFwljLbS9sU36Tg== MIME-Version: 1.0 X-Received: by 10.107.33.7 with SMTP id h7mr13441951ioh.30.1459623595552; Sat, 02 Apr 2016 11:59:55 -0700 (PDT) Date: Sat, 2 Apr 2016 14:59:55 -0400 Message-ID: Subject: pass arguments enclosed with double quotes from bash shell to windows program From: Cary Lewis To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes I need to start acrobat from a bash shell. Acrobat needs some of its parameters to be enclosed with double quotes. This is needed to automatically open and print a pdf. When I try to do that directly from a bash shell, I can't get it to pass arguments enclosed with the double quotes. It will do that for arguments with spaces in them, but for single word arguments, it doesn't If I try to do a \", then it passes the \" to the windows app. The only workaround I've come up with so far, is to create a batch file in the bash shell, and then invoke it with a cmd /c batch.bat But there should be a way to control how arguments are passed. Does anyone have any ideas. -- 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