This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Thu, Mar 1, 2012 at 19:05, Kenneth Wolcott<kennethwolcott@gmail.com> wrote:Ken:
Is it possible that scripts and executables write to file descripter 3 or 4 or 5? File descriptor 0 is STDIN (normally), and file descriptor 1 is STDOUT (normally) and file descripter 2 is SDTERR (normally).
So, perhaps you might want to try to capture/merge the output of file descriptor 3, or 4 or 5?
The syntax for merging is quite similar to the "2<&1" for bash which means "please merge the STDERR with the STDOUT".
HTH, Ken Wolcott
I was able to get: +++ make > make.out 2>&1 +++ to produce the same results as "&>".
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |