RE: Redirect error to file using system()

2002-01-29 Thread Kipp, James
thanks I was able to do it by redirection teh FD sterr -Original Message- From: Daniel Gardner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 12:58 PM To: Kipp, James Cc: [EMAIL PROTECTED] Subject: Re: Redirect error to file using system() Does IPC::Open3 help? That sends

Re: Redirect error to file using system()

2002-01-29 Thread Daniel Gardner
Tuesday, January 29, 2002, 3:38:20 PM, Kipp, James wrote: > I am working on an NT script which uses system(). I can not get it to write > errors to stderr instead of stdout. it works fine from the command line. see > code snip below. any ideas? > thanks > Jim > -- > foreach $user (@users) > { >

RE: Redirect error to file using system()

2002-01-29 Thread Kipp, James
from a command line 2> will redirect standard error. open(STDERR,">err.out"); works fine, thanks -Original Message- From: Timothy Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 10:50 AM To: 'Kipp, James '; [EMAIL PROTECTED] Subject: RE: Re