Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
use subprocess instead of exec since exec is broken on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
louisdewar committed Dec 19, 2021
1 parent 539ca3f commit 8abeb04
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions competitions/uttt/uttt_getting_started/doxa_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import json
import os
import platform
import shutil
import stat
import subprocess
import tarfile
import urllib.error
import urllib.request
Expand Down Expand Up @@ -140,8 +140,7 @@ def run_command(args):

if not os.path.exists(bin_path):
install_binary()

os.execvp(bin_path, [bin_path] + args)
subprocess.call([bin_path] + args)


if __name__ == "__main__":
Expand Down

0 comments on commit 8abeb04

Please sign in to comment.