[Ttssh2-commit] [7708] exec マクロコマンドの result システム変数への返り値についての記述を増強

scmno****@osdn***** scmno****@osdn*****
2019年 5月 22日 (水) 19:38:09 JST


Revision: 7708
          https://osdn.net/projects/ttssh2/scm/svn/commits/7708
Author:   maya
Date:     2019-05-22 19:38:09 +0900 (Wed, 22 May 2019)
Log Message:
-----------
exec マクロコマンドの result システム変数への返り値についての記述を増強

Modified Paths:
--------------
    trunk/doc/en/html/macro/command/exec.html
    trunk/doc/ja/html/macro/command/exec.html

-------------- next part --------------
Modified: trunk/doc/en/html/macro/command/exec.html
===================================================================
--- trunk/doc/en/html/macro/command/exec.html	2019-05-21 15:28:39 UTC (rev 7707)
+++ trunk/doc/en/html/macro/command/exec.html	2019-05-22 10:38:09 UTC (rev 7708)
@@ -28,15 +28,6 @@
 Runs an application specified by <command line>.
 </p>
 
-`result' system variable returns following values.
-<dl>
-  <dt>0</dt>
-  <dd>success to execute an application, when <wait> is 0 or is not specified.</dd>
-  <dt>-1</dt>
-  <dd>fail to execute an application</dd>
-  <dt>exit code of the application</dt>
-  <dd>success to execute an application, when <wait> is 1</dd>
-</dl>
 
 <h2>Parameters</h2>
 <dl>
@@ -59,6 +50,53 @@
 </dl>
 
 
+<h2>Return Value</h2>
+
+<dl>
+	<dt class="macro">System variable <result></dt>
+	<dd>
+		<dl>
+			<dt class="macro">version 4.63 to 4.102</dt>
+			<dd>If integer value <wait> is 1, the exit code of the application is stored.</dd>
+			<dt class="macro">version 4.103 or later<dt>
+			<dd>
+				If integer value <wait> is 1
+				<table border="2">
+				<tr>
+				  <th>Value</th>
+				  <th>Meaning</th>
+				</tr>
+				<tr>
+				  <td>-1</td>
+				  <td>Failed to execute the application.</td>
+				</tr>
+				<tr>
+				  <td>not -1</td>
+				  <td>The exit code of the application</td>
+				</tr>
+				</table><br />
+				
+				If integer value <wait> is not 1
+				<table border="2">
+				<tr>
+				  <th>Value</th>
+				  <th>Meaning</th>
+				</tr>
+				<tr>
+				  <td>-1</td>
+				  <td>Failed to execute the application.</td>
+				</tr>
+				<tr>
+				  <td>0</td>
+				  <td>Succeeded to execute the application.</td>
+				</tr>
+				</table>
+			</dd>
+		</dl>
+	</dd>
+</dl>
+
+
 <h2>Example</h2>
 
 <pre class="macro-example">

Modified: trunk/doc/ja/html/macro/command/exec.html
===================================================================
--- trunk/doc/ja/html/macro/command/exec.html	2019-05-21 15:28:39 UTC (rev 7707)
+++ trunk/doc/ja/html/macro/command/exec.html	2019-05-22 10:38:09 UTC (rev 7708)
@@ -28,15 +28,6 @@
 \x83R\x83}\x83\x93\x83h\x83\x89\x83C\x83\x93\x95\xB6\x8E\x9A\x97\xF1 <command line> \x82ɏ]\x82\xA2\x81A\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82\xF0\x8BN\x93\xAE\x82\xB7\x82\xE9\x81B
 </p>
 
-result \x83V\x83X\x83e\x83\x80\x95ϐ\x94\x82͎\x9F\x82̒l\x82\xF0\x8E\xE6\x82\xE9\x81B
-<dl>
-  <dt>0</dt>
-  <dd>\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82̎\xC0\x8Ds\x82ɐ\xAC\x8C\xF7\x81A<wait> \x83p\x83\x89\x83\x81\x81[\x83^\x82\xAA 0 \x96\x94\x82́A\x8Ew\x92肳\x82\xEA\x82Ă\xA2\x82Ȃ\xA2</dd>
-  <dt>-1</dt>
-  <dd>\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82̎\xC0\x8Ds\x82Ɏ\xB8\x94s\x82\xB5\x82\xBD\x8Fꍇ</dd>
-  <dt>\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82̏I\x97\xB9\x83R\x81[\x83h</dt>
-  <dd>\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82̎\xC0\x8Ds\x82ɐ\xAC\x8C\xF7\x81A<wait> \x83p\x83\x89\x83\x81\x81[\x83^\x82\xAA 1 \x82Ɏw\x92肳\x82\xEA\x82Ă\xA2\x82Ȃ\xA2</dd>
-</dl>
 
 <h2>\x83p\x83\x89\x83\x81\x81[\x83^</h2>
 <dl>
@@ -59,6 +50,53 @@
 </dl>
 
 
+<h2>\x95Ԃ\xE8\x92l</h2>
+
+<dl>
+	<dt class="macro">\x83V\x83X\x83e\x83\x80\x95ϐ\x94 <result></dt>
+	<dd>
+		<dl>
+			<dt class="macro">\x83o\x81[\x83W\x83\x87\x83\x93 4.63 \x82\xA9\x82\xE7 4.102</dt>
+			<dd><wait> \x82\xAA 1 \x82̏ꍇ\x82̂݁A\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82̏I\x97\xB9\x83R\x81[\x83h\x82\xAA\x8Ai\x94[\x82\xB3\x82\xEA\x82\xE9\x81B</dd>
+			<dt class="macro">\x83o\x81[\x83W\x83\x87\x83\x93 4.103 \x88ȍ~<dt>
+			<dd>
+				<wait> \x82\xAA 1 \x82̏ꍇ
+				<table border="2">
+				<tr>
+				  <th>\x92l</th>
+				  <th>\x88Ӗ\xA1</th>
+				</tr>
+				<tr>
+				  <td>-1</td>
+				  <td>\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82̎\xC0\x8Ds\x82Ɏ\xB8\x94s\x82\xB5\x82\xBD\x81B</td>
+				</tr>
+				<tr>
+				  <td>-1 \x88ȊO</td>
+				  <td>\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82̏I\x97\xB9\x83R\x81[\x83h</td>
+				</tr>
+				</table><br />
+				
+				<wait> \x82\xAA 1 \x88ȊO\x82̏ꍇ
+				<table border="2">
+				<tr>
+				  <th>\x92l</th>
+				  <th>\x88Ӗ\xA1</th>
+				</tr>
+				<tr>
+				  <td>-1</td>
+				  <td>\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82̎\xC0\x8Ds\x82Ɏ\xB8\x94s\x82\xB5\x82\xBD\x81B</td>
+				</tr>
+				<tr>
+				  <td>0</td>
+				  <td>\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82̎\xC0\x8Ds\x82ɐ\xAC\x8C\x{1C2D42}\xBD\x81B</td>
+				</tr>
+				</table>
+			</dd>
+		</dl>
+	</dd>
+</dl>
+
+
 <h2>\x97\xE1</h2>
 
 <pre class="macro-example">


Ttssh2-commit メーリングリストの案内