Use global path for workspace (#295)

Temporary hack around simple chdir OS model
This commit is contained in:
Mark Mossberg
2017-06-09 13:42:49 -04:00
committed by GitHub
parent 595a33d3e0
commit 0533fe1d2d
+2 -2
View File
@@ -375,11 +375,11 @@ class Manticore(object):
else:
os.mkdir(path)
self._workspace_path = path
self._workspace_path = os.path.abspath(path)
def _make_workspace(self):
''' Make working directory '''
return tempfile.mkdtemp(prefix="mcore_", dir='./')
return os.path.abspath(tempfile.mkdtemp(prefix="mcore_", dir='./'))
@property
def policy(self):