// Run runs a process inside a running container
Run runs a process inside a running container
// Run runs a process inside a running container
func (c *Containerizer) Run(handle string, spec garden.ProcessSpec, io garden.ProcessIO) (garden.Process, error) {
	mlog := plog.Start("run", lager.Data{"handle": handle, "path": spec.Path})
	defer mlog.Info("ran")
	_, err := c.depot.Lookup(handle)
	if err != nil {
		return nil, mlog.Err("lookup", err)
	}
	return c.runner.withLog(mlog).Exec(handle, spec, io)
}
func ( c * Containerizer ) Run ( handle string , spec garden . ProcessSpec , io garden . ProcessIO ) ( garden . Process , error ) { mlog := plog . Start ( " " , lager . Data { " " : handle , " " : spec . Path } ) defer mlog . Info ( " " ) _ , err := c . depot . Lookup ( handle ) if err != nil { return nil , mlog . Err ( " " , err ) } return c . runner . withLog ( mlog ) . Exec ( handle , spec , io ) }
Run runs a process inside a running container
Run runs a process inside a running container