Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1507)

Unified Diff: mojo/devtools/common/devtoolslib/http_server.py

Issue 1291733002: Add command to kill stray mojo shell servers so we don't have to remember it (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/devtools/common/devtoolslib/http_server.py
diff --git a/mojo/devtools/common/devtoolslib/http_server.py b/mojo/devtools/common/devtoolslib/http_server.py
index 16c76a98d5189638e0dfcb3a8d454ac21a6fc691..4a920d079e541c5f44083602c0203bfdd1648294 100644
--- a/mojo/devtools/common/devtoolslib/http_server.py
+++ b/mojo/devtools/common/devtoolslib/http_server.py
@@ -222,7 +222,8 @@ def start_http_server(mappings, host_port=0):
print 'Failed to start http server for %s on port %d: %s.' % (
str(mappings), host_port, os.strerror(error_code))
if error_code == errno.EADDRINUSE:
- print (' Run `fuser %d/tcp` to find out which process is using the port.'
+ print (' Run `fuser %d/tcp` to find out which process is using the port;'
ppi 2015/08/12 09:24:16 it's just fuser -k %d/tcp, no need for xargs and k
etiennej 2015/08/12 09:25:46 Done.
% host_port)
+ print (' or use `fuser %d/tcp|xargs kill` terminate it.' % host_port)
print '---'
raise
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698