ACT-1571: support for subprocesses