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) > { > system("NET SEND $user testing 2>err.out"); > } > --- Does IPC::Open3 help? That sends the program's STDERR to whatever filehandle you want... http://www.perldoc.com/perl5.6.1/lib/IPC/Open3.html -- Best Regards, Daniel [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]