return resultcode of subprocess
This commit is contained in:
parent
adc8b84f3f
commit
86bb3babe5
1 changed files with 2 additions and 0 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue