Skip to content

Commit 9478098

Browse files
committed
FIX #165
1 parent 7d5815b commit 9478098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/scimodom/services/sunburst.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from collections import defaultdict
22
from functools import cache
33
from json import dumps
4-
from subprocess import run
4+
from subprocess import Popen
55
from typing import TextIO
66

77
from sqlalchemy import select, func
@@ -42,7 +42,7 @@ def __init__(
4242
@staticmethod
4343
def trigger_background_update() -> None:
4444
"""Trigger update in the background using the CLI."""
45-
run(["flask", "--app", "scimodom.app", "charts", "sunburst-update"])
45+
Popen(["flask", "--app", "scimodom.app", "charts", "sunburst-update"])
4646

4747
def open_json(self, chart_type: SunburstChartType) -> TextIO:
4848
"""Open a chart json data file.

0 commit comments

Comments
 (0)