def run(self, context):
        cmd = "echo $$>{dir}/pidfile; exec {dir}/recentfling.sh -i {}; rm {dir}/pidfile"
        cmd = cmd.format(self.loops, dir=self.device.working_directory)
        try:
            self.output = self.device.execute(cmd, timeout=120)
        except __HOLE__:
            self._kill_recentfling()
            raise
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/workloads/recentfling/__init__.py/Recentfling.run