delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/02/19:17:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <7B35B979DF6941628DE9A6D131AA3909@phoenix>
References: <E2B92C7CBBA64B158FA61FDD9DDC20BC AT phoenix> <AANLkTinVYGVHP9W8w-j1gudobfqZX1aNza0n2XoxqiqC AT mail DOT gmail DOT com> <AANLkTinSh1+kMob1K4VX-MDLNzu-VLK+VdyLatjkyCZJ AT mail DOT gmail DOT com> <7B35B979DF6941628DE9A6D131AA3909 AT phoenix>
Date: Mon, 2 Aug 2010 16:17:37 -0700
Message-ID: <AANLkTi=oOQ4p0UfaKywwdWa5xP6Tv3gqAdzih1DUc8bL@mail.gmail.com>
Subject: Re: How to pass parameters to a windows application
From: Dave Hylands <dhylands AT gmail DOT com>
To: cygwin AT cygwin DOT com
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 Jason,

>> You should both have a look at 'cygstart'.
>
> Hint taken, do not write what already exists. Thanks
>
> It does not play nice with unc paths. Starting by cmd.exe /c start path does.
> Suggestions?

My open utility plays nice with UNC paths...

I think I wrote open many many years ago (before I even started using
cygwin) and I've just been carrying it around with me. I added cygwin
path support when I started using cygwin.

I've added an alias to alias open to cygstart (I use gnome-open under Ubuntu).

Thanks for the tip.

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019