add subprocess to process