pull/2875/head
Kaalleen 2024-04-22 19:54:55 +02:00
rodzic b55e2f85d8
commit 58ad4c8898
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -50,12 +50,12 @@ class SelectElements(InkstitchExtension):
py_path, file_path = self._get_paths()
id_list = self._get_id_list()
with subprocess.Popen(
with open(os.devnull, 'w') as null:
subprocess.Popen(
[py_path, 'select_elements.py', id_list],
cwd=file_path,
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL) as proc:
proc.wait()
stdout=null
).wait()
def _get_paths(self):
file_path = get_bundled_dir("dbus")