'Get all data about this process in dictionary form
@return: dictionary of all relevant process properties
@rtype: dict { str: val }'

def get_info(self):

    info = {'spawn_count': self.spawn_count, 'args': self.args, 'env': self.env, 'package': self.package, 'name': self.name, 'alive': self.is_alive(), 'respawn': self.respawn, 'required': self.required}
    if (self.exit_code is not None):
        info['exit_code'] = self.exit_code
    return info
