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

Side by Side Diff: tools/task_kill.py

Issue 23809006: Tempoarily return 0 from taskkill process. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 # 6 #
7 7
8 # A script to kill hanging processs. The tool will return non-zero if any 8 # A script to kill hanging processs. The tool will return non-zero if any
9 # process was actually found. 9 # process was actually found.
10 # 10 #
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 status = Kill("dart") 159 status = Kill("dart")
160 return status 160 return status
161 161
162 def Main(): 162 def Main():
163 options = GetOptions() 163 options = GetOptions()
164 status = 0 164 status = 0
165 if (options.kill_dart): 165 if (options.kill_dart):
166 status += KillDart(); 166 status += KillDart();
167 if (options.kill_browsers): 167 if (options.kill_browsers):
168 status += KillBrowsers() 168 status += KillBrowsers()
169 return status 169 # Investigating hanging firefox, see issue 13121
170 return 0
170 171
171 if __name__ == '__main__': 172 if __name__ == '__main__':
172 sys.exit(Main()) 173 sys.exit(Main())
OLDNEW
« 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