projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b368a5f
)
gst-env: import exit from sys
author
Stéphane Cerveau
<scerveau@igalia.com>
Fri, 4 Nov 2022 10:14:55 +0000
(11:14 +0100)
committer
GStreamer Marge Bot
<gitlab-merge-bot@gstreamer-foundation.org>
Fri, 4 Nov 2022 20:07:30 +0000
(20:07 +0000)
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>
gst-env.py
patch
|
blob
|
history
diff --git
a/gst-env.py
b/gst-env.py
index
ae03246
..
fb266ad
100755
(executable)
--- a/
gst-env.py
+++ b/
gst-env.py
@@
-14,6
+14,7
@@
import pathlib
import signal
from functools import lru_cache
from pathlib import PurePath, Path
+from sys import exit
from typing import Any