diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-01 23:10:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-01 23:10:25 +0000 |
commit | 81abf43d2b32106102462c3fd1b6c52c0b74f6b7 (patch) | |
tree | 8ff3cf992c81a46d17219ac528c3cb6fe7467402 /Master/texmf-dist/asymptote/GUI/xasy2asy.py | |
parent | 668f13d96ea148cade89c8813883c8b5a90cb55e (diff) |
asymptote 2.62 support files
git-svn-id: svn://tug.org/texlive/trunk@53988 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/GUI/xasy2asy.py')
-rwxr-xr-x | Master/texmf-dist/asymptote/GUI/xasy2asy.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/texmf-dist/asymptote/GUI/xasy2asy.py b/Master/texmf-dist/asymptote/GUI/xasy2asy.py index 2df6c3417a0..4b2d0274f74 100755 --- a/Master/texmf-dist/asymptote/GUI/xasy2asy.py +++ b/Master/texmf-dist/asymptote/GUI/xasy2asy.py @@ -775,6 +775,8 @@ class xasyItem(Qc.QObject): worker = threading.Thread(target=self.asyfyThread, args=[]) worker.start() item = self.imageHandleQueue.get() + cwd=os.getcwd(); + os.chdir(self.asyengine.tempDirName) while item != (None,) and item[0] != "ERROR": if item[0] == "OUTPUT": print(item[1]) @@ -790,6 +792,8 @@ class xasyItem(Qc.QObject): pass item = self.imageHandleQueue.get() # self.imageHandleQueue.task_done() + os.chdir(cwd); + worker.join() def asyfyThread(self): |