mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
Support *nix like development prompt on Windows
CMD on windows could support customized prompt like $PS1 on bash
This commit is contained in:
parent
ab47fccaec
commit
bc5bc17667
1 changed files with 1 additions and 0 deletions
|
@ -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]:
|
||||
|
|
Loading…
Reference in a new issue