Added access methods to read the environment that the subprocess was
spawned with. Fixed bug in backtick subprocess where the buffer last element could be accessed when the buffer was empty.
Authored by: andy_rushton 2009-10-27
Parent: [r335]
Child: [r337]