mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
up
This commit is contained in:
@@ -58,6 +58,12 @@ def execShell(cmdstring, cwd=None, timeout=None, shell=True):
|
||||
return (t1, t2)
|
||||
|
||||
|
||||
def getTracebackInfo():
|
||||
import traceback
|
||||
errorMsg = traceback.format_exc()
|
||||
return errorMsg
|
||||
|
||||
|
||||
def getRunDir():
|
||||
return os.getcwd()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user