kopia lustrzana https://github.com/inkstitch/inkstitch
test
rodzic
b55e2f85d8
commit
58ad4c8898
|
@ -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")
|
||||
|
|
Ładowanie…
Reference in New Issue