Implement session open/close, set environment variables, and fork/exec
new process