def run(self):
        print("hello, dummy (pid: %s) is alive" % os.getpid())
        print("env %s" % os.environ)

        i = 0
        while self.alive:
            sys.stdout.write("STDOUT %s\n" % i)
            sys.stdout.flush()
            sys.stderr.write("STDERR %s\n" % i)
            sys.stderr.flush()
            time.sleep(1.0)
            i += 1
dataset/ETHPy150Open benoitc/gaffer/examples/config/dummy.py/Dummy.run/original