capturing hython terminal output running inside a async multiprocess

   1352   0   2
User Avatar
Member
258 posts
Joined: July 2006
Online
Hi; How can I capture the terminal output of a hython file that runs inside an async process.

if __name__ == '__main__':
    pool = multiprocessing.Pool(max_number_processes)
    
        
    for wedge in range(0,total_tasks):
        pool.apply_async(cacheHoudini,args=(wedge,))
        

    pool.close() # After all threads started we close the pool
    pool.join() # And wait until all threads are done
    del pool

above process creates several processes for running wedges , I am not sure how to create a log per PID .

thanx for the help
Head of CG @ MPC
CG Supervisor/ Sr. FX TD /
https://gumroad.com/timvfx [gumroad.com]
www.timucinozger.com
  • Quick Links