code: def pspawn_wrapper(self, sh, escape, cmd, args, env):
          
          return self.pspawn(sh, escape, cmd, args, env, self.logstream, self.logstream)
docs: Wrapper function for handling piped spawns.
  
          This looks to the calling interface (in Action.py) like a "normal"
          spawn, but associates the call with the PSPAWN variable from
          the construction environment and with the streams to which we
          want the output logged.  This gets slid into the construction
          environment as the SPAWN variable so Action.py doesn't have to
          know or care whether it's spawning a piped command or not.