launcher: add support for manipulating the process environment