Unanswered
Hi,
I Have A Main Task That Creates Additional Tasks In Subprocesses. I Wish To Call Task.Init From Inside Each Child-Task So They Would Be Indifferent To The Main Task (I Wish The Child Process To Behave As If It Was Executed Standalone). I Am Aware Trai
Try removing this magic environment that tells the sub-process there was already an Initialized Task.
import os env = dict(**os.environ) env.pop('TRAINS_PROC_MASTER_ID', None)
🙂
174 Views
0
Answers
4 years ago
one year ago