Trisurf Monte Carlo simulator
Samo Penic
2016-05-16 56ba2f3107066b9a449b83eba64cab8e43cae9f0
Added comment about psutil version
1 files modified
1 ■■■■ changed files
python/trisurf/trisurf.py 1 ●●●● patch | view | raw | blame | history
python/trisurf/trisurf.py
@@ -324,6 +324,7 @@
            return TS_NOLOCK
        if(psutil.pid_exists(int(pid))):
            proc= psutil.Process(int(pid))
            #psutil.__version__ == '3.4.2' requires name() and status(), some older versions reguire name, status
            if proc.name()=="trisurf":
                if proc.status()=="stopped":
                    return TS_STOPPED