moa.actor

‘Simple’ wrapper around subprocess to execute code

moa.actor.async(f)

decorator designating an actor to be asynchronous

moa.actor.getLastStderr(job)

Get the last stderr

moa.actor.getLastStdout(job)

Get the last stdout

moa.actor.getRecentOutDir(job)

Return the most recent output directory

moa.actor.simpleRunner(wd, cl, conf={}, **kwargs)

Don’t think - just run - here & now

what does this function do? - put env in the environment - Execute the commandline (in cl) - store stdout & stderr in log files - return the rc

moa.actor.sync(f)

decorator designating an actor to be synchronous