X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0	tests=AWL,BAYES_05,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4F105D55.7030601@cs.utoronto.ca>
Date: Fri, 13 Jan 2012 11:35:33 -0500
From: Ryan Johnson <ryan.johnson@cs.utoronto.ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: 1.7.9: Passing Arguments to cygstart
References: <D1899463DAFD9447ACD00FDCE567B932E5FA57E51E@EX2K7-VIRT-4.ads.qub.ac.uk>
In-Reply-To: <D1899463DAFD9447ACD00FDCE567B932E5FA57E51E@EX2K7-VIRT-4.ads.qub.ac.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
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

On 13/01/2012 10:43 AM, Emmett Kelly wrote:
> I am attempting to start a program using cygstart.
> I am logged in through an SSH from a linux machine, I am capable of starting the program using:
> cygstart program.exe
Forgive my ignorance here, but is there a reason you can't just 
"./program.exe" ?

Cygstart is for invoking a registered Windows action for non-executable 
files (e.g. open or print; see man page for cygstart).

IOW, if double-clicking on an xml file in Windows Explorer would run 
program.exe, then just 'cygstart file.xml' Otherwise, ./program.exe 
file.xml should work great (I'm not aware of anything "special" about 
cygstart wrt GUI-over-ssh issues).

Ryan


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

