mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Added logging feature for child processes
This commit is contained in:
parent
2913ec06a3
commit
2f1adcc208
@ -400,10 +400,10 @@ def run_config_test(config_file):
|
|||||||
antBuild("datamodel", False)
|
antBuild("datamodel", False)
|
||||||
antBuild("autopsy", True)
|
antBuild("autopsy", True)
|
||||||
print("starting process")
|
print("starting process")
|
||||||
|
outputer = open("ScriptLog.txt", "a")
|
||||||
pid = subprocess.Popen(nxtproc,
|
pid = subprocess.Popen(nxtproc,
|
||||||
stdout = subprocess.PIPE,
|
stdout = outputer,
|
||||||
stdin = subprocess.PIPE,
|
stderr = outputer)
|
||||||
stderr = subprocess.PIPE)
|
|
||||||
sys.exit()
|
sys.exit()
|
||||||
for img in images:
|
for img in images:
|
||||||
run_test(img, 0 )
|
run_test(img, 0 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user