delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/25/08:21:12

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
content-class: urn:content-classes:message
Subject: console output problem
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Date: Fri, 25 Oct 2002 05:18:34 -0700
Message-ID: <D8BB1D1FB113524E95EEF65D595C89BF127D3A@CORVAIR.valosystems.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Jim Rainville" <jrainville AT valosystems DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g9PCLC421331

Hi  -

I'm trying to set up a perl build script that runs every night, builds a
bunch of code (using gcc) and saves the output to some log files. So I
redirect stdout and stderr to some files and run the script that builds
the  load. This runs fine when I run it from the command prompt but when
I run it from the windows scheduler I get a bunch of errors of the form:

      0 [main] cpp 1001 fhandler_console::de_linearize: error opening
console after exec, errno 13, Win32 error 5
      0 [main] cc1 1002 fhandler_console::de_linearize: error opening
console after exec, errno 13, Win32 error 5
      0 [main] as 1003 fhandler_console::de_linearize: error opening
console after exec, errno 13, Win32 error 5
      0 [main] cpp 1001 fhandler_console::de_linearize: error opening
console after exec, errno 13, Win32 error 5
      0 [main] cc1 1002 fhandler_console::de_linearize: error opening
console after exec, errno 13, Win32 error 5
      0 [main] as 1003 fhandler_console::de_linearize: error opening
console after exec, errno 13, Win32 error 5

It looks like since the scheduler doesn't have a console associated with
it the fhandler_console throws an error even though stdout is
redirected. Has anybody come across this before? Any clues how to fix
it? 
 
Thanks. Jim



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