beremiz

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.
# module which import C files as strings
import os
from PLCObject import PLCObject, PLCprint
import ServicePublisher