delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/02/14:37:42

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: Trying to run VBScript from Cygwin
Date: Fri, 02 Jun 2006 11:37:16 -0700
Lines: 54
Message-ID: <e5q0gt$pfv$1@sea.gmane.org>
References: <7EDA66C5096836458AA14849012ABBD5C3C449 AT frn-mail-6 DOT dera DOT gov DOT uk>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
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-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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:
> Hi,
>
> I've seen Paul Hughes' message "[Newbie] Trying to run MSWord from 
> Cygwin" dated 02 Mar 2006 and am having similar problems.
>
> 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?
You are aware when you ssh (or rsh/telnet, etc) into a Windows box using 
Cygwin that you are using pty's and that many Windows programs don't 
like pty's.

You might try re-writing that VBScript something more suitable for 
Cygwin like Perl or something like that.
> Many Thanks,
>
> Steve
>
If you can, lose the following. It's quite annoying... (And yes I know 
sometimes you can't... Don't know why companies insist on such long 
disclaimers that nobody cares about nor reads...)
>
>
> The information contained in this E-Mail and any subsequent
> correspondence is private and is intended solely for the intended
> recipient(s). The information in this communication may be confidential
> and/or legally privileged. Nothing in this e-mail is intended to
> conclude a contract on behalf of QinetiQ or make QinetiQ subject to any
> other legally binding commitments, unless the e-mail contains an express
> statement to the contrary or incorporates a formal Purchase Order.
>
> For those other than the recipient any disclosure, copying,
> distribution, or any action taken or omitted to be taken in reliance on
> such information is prohibited and may be unlawful.
>
> Emails and other electronic communication with QinetiQ may be monitored
> and recorded for business purposes including security, audit and
> archival purposes. Any response to this email indicates consent to
> this.
>
> Telephone calls to QinetiQ may be monitored or recorded for quality
> control, security and other business purposes.
>


--
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