tests/python/runtime.py
author greg
Mon, 18 May 2009 07:47:24 +0200
changeset 344 25b7b7f854bc
parent 291 701c0601db02
permissions -rw-r--r--
Wait the debug thread has terminated before freeing PLC to avoid random segmentation fault.

Store working directory to globals copy, in order to be used in runtime.py.
import time,sys
def myprintfunc(arg):
    print arg
    sys.stdout.flush()
    return arg