mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
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:
parent
b368a5fcd2
commit
dd35ec3ddd
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue