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 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: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 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