return resultcode of subprocess

This commit is contained in:
Maximilian Keßler 2021-09-18 13:43:04 +02:00
parent adc8b84f3f
commit 86bb3babe5

View file

@ -91,6 +91,7 @@ class Notes:
stdout=subprocess.DEVNULL, stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL stderr=subprocess.DEVNULL
) )
return result.returncode
def open_full(self): def open_full(self):
result = subprocess.run( result = subprocess.run(
@ -98,6 +99,7 @@ class Notes:
stdout=subprocess.DEVNULL, stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL stderr=subprocess.DEVNULL
) )
return result.returncode
def compile_master(self): def compile_master(self):
result = subprocess.run( result = subprocess.run(