[FEATURE] Attach processes to parent process.

[FOLD] clean up process output, environment.js.