This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Error piping data through a cygwin command using rsh (write system call fails)
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 9 Jun 2005 10:18:44 +0200
- Subject: Re: Error piping data through a cygwin command using rsh (write system call fails)
- References: <BAY1-F1321D154B596CBC10A9EABA6FD0@phx.gbl>
- Reply-to: cygwin at cygwin dot com
On Jun 8 14:44, Johnny B. Goode wrote:
> We're using a windows 2000 based server running cygwin as a development
> environment for porting our AIX-based software to the Windows platform.
>
> When we extract the compiled programs, we connect to the cygwin server
> using rsh, passing a file list as input, returning a gzip'ed CPIO archive
> as output using a command like:
>
> cat filelist | rsh cygserver -l logname "cd /directory ; cpio -oc |
> gzip" > output.cpio.gz
>
> This is executed from an AIX server (running AIX 5.3), effectively packing
> files from the filelist in a CGZ-archive that ends up back on the AIX
> server. The problem is, however, that gzip on the cygwin server terminates
> prematurely with the error "gzip: stdout: Invalid argument".
Did you try gzip -c ?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/