Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: RE: cscript errors out from daemon Date: Wed, 25 Sep 2002 18:13:27 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: 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/