Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 25 Oct 2002 09:25:26 -0400 (EDT)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Jim Rainville <jrainville@valosystems.com>
cc: cygwin@cygwin.com
Subject: Re: console output problem
In-Reply-To: <Pine.GSO.4.44.0210250915180.13770-100000@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.44.0210250924550.13770-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 25 Oct 2002, Igor Pechtchanski wrote:

> On Fri, 25 Oct 2002, Jim Rainville wrote:
>
> > 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
>
> Jim,
>
> Did you also remember redirect stdin from /dev/null?
                       ^ to
>         Igor

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


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

