From 48da1028dbd3941bf29ff735d143e72bf56671e9 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Tue, 20 Feb 2018 22:11:43 -0500 Subject: [PATCH] os.execv doesn't replace the process on windows --- stub.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stub.py b/stub.py index 9fa331607..ec317753b 100644 --- a/stub.py +++ b/stub.py @@ -2,6 +2,7 @@ import sys import os +import subprocess # ink/stitch # @@ -27,4 +28,4 @@ binary_path = os.path.join("inkstitch", "bin", binary_name) args = sys.argv[:] args[0] = binary_path -os.execv(binary_path, args) +subprocess.call(args)