delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/03/05:11:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-Id: <s20214d3.000@CNTNIS01.ESKOM.CO.ZA>
Date: Thu, 03 Feb 2005 12:10:44 +0200
From: "Alexander Polson" <Alexander DOT Polson AT pbmr DOT co DOT za>
To: <cygwin AT cygwin DOT com>
Subject: How to start a Win gui app on remote server
Mime-Version: 1.0

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/

- Raw text -


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