delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/25/12:13: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://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Dan Vasaru" <dvasaru AT broadpark DOT no>
To: <cygwin AT cygwin DOT com>
Subject: RE: cscript errors out from daemon
Date: Wed, 25 Sep 2002 18:13:27 +0200
Message-ID: <CHEDKHJJDLOCCOFLMGEAEEKMCMAA.dvasaru@broadpark.no>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <OFC25A2F2B.074557C4-ON85256C3F.005716F1@com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Brandon,

I don't see the problem on my w2k system :

~$ssh dan AT localhost
.....
Fanfare!!!
You are successfully logged in to this server!!!
~$cscript.exe
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Usage: CScript scriptname.extension [option...] [arguments...]

Options:
[....]

As to debugging your problem, I suggest:

1) login via telnet/ssh and type:
which cscript
This is WINNT/system32/cscript on my system.
2) try getting a dump of the crashed CSCRIPT. Run/Install Dr Watson as
default debugger, and instruct it to create a dumpfile:
c:\> drwtsn32 -i

Send me a zipped version of the dump file, or try  to debug it yourself
using windbg from the free Microsoft "Debugging Tools for Windows"

Dan


-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
Of Brandon DOT Saxe AT lafarge-na DOT com
Sent: Wednesday, September 25, 2002 5:55 PM
To: cygwin AT cygwin DOT com
Subject: cscript errors out from daemon


win2k
cygwin              1.3.12-2

(See attached file: cygcheck.out)

I am trying to run a bash script than in turn calls a vbscript from cron
using cscript.exe. I get a dialog box displaying an error about cscript not
being able to initialize. Application popup: cscript.exe - Application
Error : The application failed to initialize properly (0xc0000005). Click
on OK to terminate the application.

I have also noticed that I cannot run cscript after logging in via telnet
or ssh. I am assuming that cygwin has a problem of running cscript from
within a daemon?

Is there any solution to be able to run cscript from cron, ssh, telnet,
etc?

Thank you,
Brandon Saxe


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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