PipelineFX Forum

Qube! => Jobtypes and Applications => Topic started by: bijuramavfx on December 13, 2012, 03:55:56 PM

Title: redirecting input/output in maya
Post by: bijuramavfx on December 13, 2012, 03:55:56 PM
Hi there:

How can I redirect stdout/stderror to the proper log file. I maya I would like to reverse the exssting output of maya rendere as shown below (the error to stdout(which is the right stdout) and  stdout to stderror

 2>Stdout 1>Stderr

rez-run maya_vray -- Render -s QB_FRAME_START -e QB_FRAME_END -b QB_FRAME_STEP -renderer sw -proj /prod/rendering/jobs/maya_render_image_test/condor_test sphere_anim.ma 2>Stdout 1>Stderr

Thanks
/Biju
Title: Re: redirecting input/output in maya
Post by: jburk on December 13, 2012, 07:32:31 PM
From http://www.commandlinefu.com/commands/view/2388/swap-stdout-and-stderr

$command 3>&1 1>&2 2>&3