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:
ab47fcc
)
Support *nix like development prompt on Windows
author
Seungha Yang
<seungha.yang@navercorp.com>
Sat, 3 Nov 2018 16:50:30 +0000
(
01:50
+0900)
committer
Seungha Yang
<seungha.yang@navercorp.com>
Fri, 9 Nov 2018 17:07:24 +0000
(
02:07
+0900)
CMD on windows could support customized prompt like $PS1 on bash
gst-uninstalled.py
patch
|
blob
|
history
diff --git
a/gst-uninstalled.py
b/gst-uninstalled.py
index
48ae015
..
48f6637
100755
(executable)
--- a/
gst-uninstalled.py
+++ b/
gst-uninstalled.py
@@
-203,6
+203,7
@@
if __name__ == "__main__":
if not args:
if os.name is 'nt':
args = [os.environ.get("COMSPEC", r"C:\WINDOWS\system32\cmd.exe")]
+ args += ['/k', 'prompt [gst-{}] $P$G'.format(gst_version)]
else:
args = [os.environ.get("SHELL", os.path.realpath("/bin/sh"))]
if "bash" in args[0]: