Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions guider/guider.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import signal
import atexit
import struct
import platform
#from ctypes import *
from copy import deepcopy
except ImportError:
Expand Down Expand Up @@ -47498,6 +47499,11 @@ def getFilter(init=False):


def runProcTop(self):
if platform.platform().startswith('Windows'):
command_clr = 'cls'
else:
command_clr = 'clear'

if not os.path.isdir(SysMgr.procPath):
SysMgr.printErr("Fail to access proc filesystem")
sys.exit(0)
Expand Down Expand Up @@ -47565,6 +47571,8 @@ def runProcTop(self):
# check request from client #
self.checkServer()

os.system(command_clr)



def saveProcInstance(self):
Expand Down