delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/18/15:51:33

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
X-Originating-IP: [208.54.143.1]
X-Originating-Email: [rkitover AT hotmail DOT com]
X-Sender: rkitover AT hotmail DOT com
From: "Rafael Kitover" <caelum AT debian DOT org>
To: "'cygwin-list'" <cygwin AT cygwin DOT com>
Cc: "'Mironov, Leonid {PBG}'" <Leonid DOT Mironov AT intl DOT pepsi DOT com>
Subject: RE: piping problems with cron+4nt
Date: Wed, 18 Feb 2004 12:49:41 -0800
MIME-Version: 1.0
In-Reply-To: <1981E79C7C98A547B36D794FBEC533700145AB32@MOSCNTX1>
Message-ID: <BAY12-DAV6022ZhCl8a0003793e@hotmail.com>
X-OriginalArrivalTime: 18 Feb 2004 20:49:45.0794 (UTC) FILETIME=[BDCA2220:01C3F660]

Perhaps try using the cygstart utility, in conjunction with --hide?

>-----Original Message-----
>From: Mironov, Leonid {PBG}
>Sent: Wednesday, February 18, 2004 12:59 AM
>Subject: piping problems with cron+4nt
>
>I've got a bunch of legacy 4NT batches I want to run from cygwin cron. When
>run from 4NT started from bash these batches work fine but when started from
>cron all lines with redirection and piping fail, e.g. when I run
>
>   dir>q
>
>file 'q' is not created,
>
>   dir|sort
>
>starts sort and it sits and waits for keyboard input. Also output from
>external programs is lost, e.g. if batch looks like
>
>   echo zzz
>   zip zzz *
>   echo qqq
>
>and is run as
>
>0	2	*	*	*	4NT.EXE /c
>ibackup.btm>>h:\\backup\\bk.log
>
>file h:\backup\bk.log will look like
>
>   zzz
>   qqq
>
>zip output is missing, although zip archive is created.
>
>Any ideas?
>
>Win XP SP1, just refreshed cygwin and 4NT to latest bulds whith no effect at
>all.
>
>:), Leo


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