Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-Id: Date: Thu, 03 Feb 2005 12:10:44 +0200 From: "Alexander Polson" To: Subject: How to start a Win gui app on remote server Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Everyone I would like to execute a command via ssh on a remote Win2000 machine (with cygwin and ssh server working OK). Then the gui app must start up interactively in a specified Windows directory. I found the closest reference to this in the archives under "How to launch gui app from cron", but could have missed a closer topic. I tried the direct command: ssh user AT remote_host /cygdrive/c/path/program.exe, which starts up program.exe, but in non-interactive / invisible way. I also tried calling a DOS batch file, program.bat, @echo off C: chdir C:\Path_To_Program program.exe C:\Path_To_Work\program.ini , using the command: ssh user AT remote_host /cygdrive/c/path_to_work/program.bat. This once again starts up program.exe, but in non-interactive / invisible way. So, the program is still non-interactive, and I dont know in which directory it started. If anyone knows how this can be done, or where an applicable archive could be found, would you please respond? Thanks Alexander Polson -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/