add possibility to share env between subprocesses