delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT 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 DOT johnson AT cs DOT utoronto DOT 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 AT cygwin DOT com |
Subject: | Re: 1.7.9: Passing Arguments to cygstart |
References: | <D1899463DAFD9447ACD00FDCE567B932E5FA57E51E AT EX2K7-VIRT-4 DOT ads DOT qub DOT ac DOT uk> |
In-Reply-To: | <D1899463DAFD9447ACD00FDCE567B932E5FA57E51E@EX2K7-VIRT-4.ads.qub.ac.uk> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |