def tar_runner(self):
script_bytes = self.RUNNER.read_bytes()<EOL>tarstream = BytesIO()<EOL>tar = tarfile.TarFile(fileobj=tarstream, mode='<STR_LIT:w>')<EOL>tarinfo = tarfile.TarInfo(name="<STR_LIT>")<EOL>tarinfo.size = len(script_bytes)<EOL>tarinfo.mtime = int(time.time())<EOL>tar.addfile(tarinfo, BytesIO(script_bytes))<EOL>tar.close()<EOL>return tarstream.getvalue()<EOL>
Returns a tar with the runner script.