Skip to content

Commit

Permalink
if running from a dos shell window, don't show the full command line …
Browse files Browse the repository at this point in the history
…as window title, just use "Xpra"

git-svn-id: https://xpra.org/svn/Xpra/trunk@3778 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 5, 2013
1 parent 9679269 commit 03acf4f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/win32/xpra_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
from xpra.platform.win32 import set_redirect_output
set_redirect_output(False)

try:
import win32api #@UnresolvedImport
win32api.SetConsoleTitle("Xpra")
except:
pass
from xpra.scripts.main import main
code = main("Xpra.exe", sys.argv)
sys.exit(code)

0 comments on commit 03acf4f

Please sign in to comment.