delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4485F0F2.9000700@tlinx.org> |
Date: | Tue, 06 Jun 2006 14:17:38 -0700 |
From: | Linda Walsh <cygwin AT tlinx DOT org> |
User-Agent: | Thunderbird 1.5.0.4 (Windows/20060516) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Trying to run VBScript from Cygwin |
References: | <7EDA66C5096836458AA14849012ABBD5C3C449 AT frn-mail-6 DOT dera DOT gov DOT uk> |
In-Reply-To: | <7EDA66C5096836458AA14849012ABBD5C3C449@frn-mail-6.dera.gov.uk> |
X-IsSubscribed: | yes |
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 |
Dean Steve wrote: > I'm also opening a ssh connection from a Linux box to a Windows machine to > run a Windows process using CreateObject within VBScript. I have been able > to replicate the problem using Excel so I know it's not my other program > that is causing the problem. When I run the script, the process starts in > the Task Manager but the script fails to proceed any further. I didn't get > any error messages originally but when I reinstalled cygrunsrv with the -i > option I did get a similar message to Paul complaining about the > CreateObject option. > > As with Paul the script works fine when I run it locally when I am sat at > the machine but seems to hang when I am using ssh. I don't know of any > immediate workarounds and I can't change the software like the suggested fix > for Paul so do you have any other solutions? > --- I'm not sure I understand the problem, but it seems like you are trying to log into a Windows machine from a remote system (running some unknown software). Then you are trying to start a GUI application like Excel or Word. You realize, that even if you managed to start Excel or Word, that the output of those programs would "try" to be displayed on the machine you are "ssh"ing into. I.e. -- they, normally, will only display on the same machine they are running on. Is this what you are intending? Word and Excel aren't written using the "X" protocol, so they can't have their output easily forwarded over an "ssh" connection to be displayed elsewhere. If you need that feature, you might google for "Windows remote desktop" and read up on the results... -linda -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |