Mail Archives: cygwin/2005/02/03/05:11:39
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 -