diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-27 21:13:31 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-27 21:13:45 +0530 |
commit | 7cd8d4accc933c7e6a4e4091f5d6e052d1af4c42 (patch) | |
tree | c06b3c75b15aa6b2a04c911be8fc60ccc4429c58 /app/dock-manual.py | |
parent | 0ec82db13f2247602fb898a8ca857052d6196fa6 (diff) |
fixed to work with launchd
Diffstat (limited to 'app/dock-manual.py')
-rw-r--r-- | app/dock-manual.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/dock-manual.py b/app/dock-manual.py index 2d69294..eb11b6a 100644 --- a/app/dock-manual.py +++ b/app/dock-manual.py @@ -94,9 +94,9 @@ with tempfile.TemporaryDirectory() as directory: arch = os.popen("uname -m").read() print("Generating 3D Model") if "x86" in arch: - os.system("docker run -it --rm -v $(pwd):/usr/app leon/usd-from-gltf:latest model.gltf model.usdz") + os.system("docker run --rm -v $(pwd):/usr/app leon/usd-from-gltf:latest model.gltf model.usdz") elif "aarch64" in arch: - os.system("docker run -it --rm -v $(pwd):/usr/app navanchauhan/usd-from-gltf:latest model.gltf model.usdz") + os.system("docker run --rm -v $(pwd):/usr/app navanchauhan/usd-from-gltf:latest model.gltf model.usdz") try: copyfile("model.usdz",os.path.join(modelDirectory,(str(jobID)+".usdz"))) except FileNotFoundError: |