printing/reporting post-job script output to log not working

Hi,

I can successfully run a post job command, however any console output the program is giving isn’t reflected in the deadline log. I have the following code in a python file which is set to my post-job script.

[code]#!/usr/bin/python
import os,sys
from Deadline.Scripting import *
def main():

 os.system("/ffmbc/0.7-rc7/ffmbc -y -f image2 -r 24 -qscale 1 -i /dusthitTest_v002/dusthitTest_v002/dusthitTest_v002.%04d.jpg  -vcodec mjpeg -r 24 -qscale 1 /dusthitTest_v002.mov")

[/code]

I’ve tried LogInfo() however I can only get that to work with strings I manually type and not output from the os.system function.

Any advice would be greatly appreciated!

Thanks.

If you use the RunProcess function, it will automatically redirect stdout to the slave log:
thinkboxsoftware.com/deadlin … _Functions

Cheers,

  • Ryan

That worked! Thanks!