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

Side by Side Diff: tools/on_demand_service_tool.ad

Issue 777993002: MachMessageServer: eliminate argument redundancy (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Rebase Created 6 years 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
« no previous file with comments | « tools/catch_exception_tool.cc ('k') | util/mach/child_port_handshake.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Crashpad Authors. All rights reserved. 1 // Copyright 2014 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 == Examples 69 == Examples
70 70
71 Registers an on-demand server that will execute catch_exception_tool(1) when a 71 Registers an on-demand server that will execute catch_exception_tool(1) when a
72 Mach message is sent to a Mach port obtained from the bootstrap server by 72 Mach message is sent to a Mach port obtained from the bootstrap server by
73 looking up the name +svc+: 73 looking up the name +svc+:
74 [subs="quotes"] 74 [subs="quotes"]
75 ---- 75 ----
76 $ *on_demand_service_tool --load --label=catch_exception \ 76 $ *on_demand_service_tool --load --label=catch_exception \
77 --mach-service=svc \ 77 --mach-service=svc \
78 $(which catch_exception_tool) --mach-service=svc \ 78 $(which catch_exception_tool) --mach-service=svc \
79 --file=/tmp/out --nonblocking --persistent* 79 --file=/tmp/out --persistent --timeout=0*
80 ---- 80 ----
81 81
82 Unregisters the on-demand server installed above: 82 Unregisters the on-demand server installed above:
83 [subs="quotes"] 83 [subs="quotes"]
84 ---- 84 ----
85 $ *on_demand_service_tool --unload --label=catch_exception* 85 $ *on_demand_service_tool --unload --label=catch_exception*
86 ---- 86 ----
87 87
88 == Exit Status 88 == Exit Status
89 89
90 *0*:: 90 *0*::
91 Success. 91 Success.
92 92
93 *1*:: 93 *1*::
94 Failure, with a message printed to the standard error stream. 94 Failure, with a message printed to the standard error stream.
95 95
96 == See Also 96 == See Also
97 97
98 exception_port_tool(1), 98 exception_port_tool(1),
99 launchctl(1) 99 launchctl(1)
100 on_demand_service_tool(1) 100 on_demand_service_tool(1)
101 101
102 include::man_footer.ad[] 102 include::man_footer.ad[]
OLDNEW
« no previous file with comments | « tools/catch_exception_tool.cc ('k') | util/mach/child_port_handshake.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698