gst-env: import exit from sys

On windows the Cmd Prompt for VS 2019 complains
that exit is not defined.

  File "C:/data/gstreamer/gst-env.py", line 622, in <module>
    exit(subprocess.call(args, close_fds=False, env=env))

NameError: name 'exit' is not defined
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3324>
This commit is contained in:
Stéphane Cerveau 2022-11-04 11:14:55 +01:00 committed by GStreamer Marge Bot
parent b368a5fcd2
commit dd35ec3ddd

View file

@ -14,6 +14,7 @@ import pathlib
import signal import signal
from functools import lru_cache from functools import lru_cache
from pathlib import PurePath, Path from pathlib import PurePath, Path
from sys import exit
from typing import Any from typing import Any