Mercurial
Mercurial
>
beremiz
/ file revision
summary
|
shortlog
|
changelog
|
graph
|
tags
|
bookmarks
|
branches
|
files
|
changeset
| file |
latest
|
revisions
|
annotate
|
diff
|
comparison
|
raw
|
help
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