Debian Codegraph @

info/gcl-tk/exit.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 <title>exit (GCL TK Manual)</title>
7
8 <meta name="description" content="exit (GCL TK Manual)">
9 <meta name="keywords" content="exit (GCL TK Manual)">
10 <meta name="resource-type" content="document">
11 <meta name="distribution" content="global">
12 <meta name="Generator" content="makeinfo">
13 <link href="index.html" rel="start" title="Top">
14 <link href="wm.html#SEC_Contents" rel="contents" title="Table of Contents">
15 <link href="Control.html" rel="up" title="Control">
16 <link href="focus.html" rel="next" title="focus">
17 <link href="tk_002ddialog.html" rel="prev" title="tk-dialog">
18 <style type="text/css">
19 <!--
20 a.summary-letter {text-decoration: none}
21 blockquote.indentedblock {margin-right: 0em}
22 div.display {margin-left: 3.2em}
23 div.example {margin-left: 3.2em}
24 div.lisp {margin-left: 3.2em}
25 kbd {font-style: oblique}
26 pre.display {font-family: inherit}
27 pre.format {font-family: inherit}
28 pre.menu-comment {font-family: serif}
29 pre.menu-preformatted {font-family: serif}
30 span.nolinebreak {white-space: nowrap}
31 span.roman {font-family: initial; font-weight: normal}
32 span.sansserif {font-family: sans-serif; font-weight: normal}
33 ul.no-bullet {list-style: none}
34 -->
35 </style>
36
37
38 </head>
39
40 <body lang="en">
41 <span id="exit"></span><div class="header">
42 <p>
43 Next: <a href="focus.html" accesskey="n" rel="next">focus</a>, Previous: <a href="tk_002ddialog.html" accesskey="p" rel="prev">tk-dialog</a>, Up: <a href="Control.html" accesskey="u" rel="up">Control</a> &nbsp; [<a href="wm.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
44 </div>
45 <hr>
46 <span id="exit-1"></span><h3 class="section">3.5 exit</h3>
47
48 <p>exit \- Exit the process
49 </p><span id="Synopsis-19"></span><h4 class="unnumberedsubsec">Synopsis</h4>
50 <p><b>exit </b><span class="roman">?</span><i>returnCode</i>?
51 </p>
52 <span id="Description-16"></span><h4 class="unnumberedsubsec">Description</h4>
53
54 <p>Terminate the process, returning <i>returnCode</i> (an integer) to the
55 system as the exit status.
56 If <i>returnCode</i> isn&rsquo;t specified then it defaults
57 to 0.
58 This command replaces the Tcl command by the same name.
59 It is identical to Tcl&rsquo;s <b>exit</b> command except that
60 before exiting it destroys all the windows managed by
61 the process.
62 This allows various cleanup operations to be performed, such
63 as removing application names from the global registry of applications.
64 </p>
65 <span id="Keywords-19"></span><h4 class="unnumberedsubsec">Keywords</h4>
66 <p>exit, process
67 </p>
68
69
70 </body>
71 </html>