Commit ab6fa4ef authored by Anika Treffehn's avatar Anika Treffehn
Browse files

added results.get to get exceptions from subprocess

parent dabf07f2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -187,6 +187,7 @@ def main(args):
                sleep(0.1)
            progressbar_update(count, count, width)
            print("\n", flush=True, file=sys.stdout)
            results.get()

            p.close()
            p.join()
+2 −0
Original line number Diff line number Diff line
@@ -270,6 +270,7 @@ def preprocess(cfg, logger):
        sleep(0.1)
    progressbar_update(count, count, width)
    print("\n", flush=True, file=sys.stdout)
    results.get()

    p.close()
    p.join()
@@ -341,6 +342,7 @@ def preprocess_2(cfg, logger):
        sleep(0.1)
    progressbar_update(count, count, width)
    print("\n", flush=True, file=sys.stdout)
    results.get()

    p.close()
    p.join()