Revision: 7698 https://osdn.net/projects/ttssh2/scm/svn/commits/7698 Author: maya Date: 2019-05-21 00:38:00 +0900 (Tue, 21 May 2019) Log Message: ----------- exec コマンドのヘルプのフォーマットを変更 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-19 15:22:56 UTC (rev 7697) +++ trunk/doc/en/html/macro/command/exec.html 2019-05-20 15:38:00 UTC (rev 7698) @@ -21,6 +21,7 @@ exec <command line> [<show> [<wait> [<current directory>]]] </pre> + <h2>Remarks</h2> <p> @@ -27,21 +28,28 @@ Runs an application specified by <command line>. </p> -<pre> -here show command: -hide -minimize -maximize -show ;default parameters when no show command specified. -</pre> -When a user specifies the 1 at the <wait> argument, Tera Term waits to finish the launched application. The exit code of the application stores the `result' system variable. <em>(version 4.63 or later)</em> +<h2>Parameters</h2> +<dl> + <dt class="macro">string <show> (optional default="show")</dt> + <dd>The following are display style: + <ul> + <li>hide</li> + <li>minimize</li> + <li>maximize</li> + <li>show</li> + </ul> + </dd> -<p> -A current directory can be specified at the <current directory> argument. <em>(version 4.78 or later)</em> -</p> + <dt class="macro">integer <wait> (optional default=0) <em>(version 4.63 or later)</em></dt> + <dd>If it is 1, macro waits to finish the launched application. The exit code of the application stores the `result' system variable.<br /> + If it is not 1, macro launches the application and control is returned to macro.</dd> + <dt class="macro">string <current directory> (optional default="") <em>(version 4.78 or later)</em></dt> + <dd>A current directory can be specified.</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-19 15:22:56 UTC (rev 7697) +++ trunk/doc/ja/html/macro/command/exec.html 2019-05-20 15:38:00 UTC (rev 7698) @@ -21,6 +21,7 @@ exec <command line> [<show> [<wait> [<current directory>]]] </pre> + <h2>\x89\xF0\x90\xE0</h2> <p> @@ -27,20 +28,28 @@ \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> -<show> \x83p\x83\x89\x83\x81\x81[\x83^\x82ɂ͈ȉ\xBA\x82̕\xB6\x8E\x9A\x97\xF1\x82\xF0\x8Ew\x92肷\x82邱\x82Ƃ\xAA\x82ł\xAB\x82\xE9\x81B -<pre> -hide -minimize -maximize -show ;default parameters when no show command specified. -</pre> -<wait> \x83p\x83\x89\x83\x81\x81[\x83^\x82\xC9 1 \x82\xF0\x8Ew\x92肷\x82\xE9\x82ƁA\x8BN\x93\xAE\x82\xB5\x82\xBD\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82\xAA\x8FI\x97\xB9\x82\xB7\x82\xE9\x82܂ő҂B\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82̏I\x97\xB9\x83R\x81[\x83h\x82\xAA result \x83V\x83X\x83e\x83\x80\x95ϐ\x94\x82Ɋi\x94[\x82\xB3\x82\xEA\x82\xE9\x81B<em>(\x83o\x81[\x83W\x83\x87\x83\x93 4.63\x88ȍ~)</em> +<h2>\x83p\x83\x89\x83\x81\x81[\x83^</h2> +<dl> + <dt class="macro">\x95\xB6\x8E\x9A\x97\xF1 <show> (\x83I\x83v\x83V\x83\x87\x83\x93 \x83f\x83t\x83H\x83\x8B\x83g="show")</dt> + <dd>\x88ȉ\xBA\x82̕\xB6\x8E\x9A\x97\xF1\x82\xF0\x8Ew\x92肷\x82邱\x82Ƃ\xAA\x82ł\xAB\x82\xE9\x81B + <ul> + <li>hide</li> + <li>minimize</li> + <li>maximize</li> + <li>show</li> + </ul> + </dd> -<p> -<current directory> \x83p\x83\x89\x83\x81\x81[\x83^\x82́A\x83J\x83\x8C\x83\x93\x83g\x83f\x83B\x83\x8C\x83N\x83g\x83\x8A\x82\xF0\x8Ew\x92肷\x82邱\x82Ƃ\xAA\x82ł\xAB\x82\xE9\x81B<em>(\x83o\x81[\x83W\x83\x87\x83\x93 4.78\x88ȍ~)</em> -</p> + <dt class="macro">\x90\xAE\x90\x94\x92l <wait> (\x83I\x83v\x83V\x83\x87\x83\x93 \x83f\x83t\x83H\x83\x8B\x83g=0) <em>(\x83o\x81[\x83W\x83\x87\x83\x93 4.63\x88ȍ~)</em></dt> + <dd>1 \x82̏ꍇ\x82́A\x8BN\x93\xAE\x82\xB5\x82\xBD\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82\xAA\x8FI\x97\xB9\x82\xB7\x82\xE9\x82܂ő҂B\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82̏I\x97\xB9\x83R\x81[\x83h\x82\xAA result \x83V\x83X\x83e\x83\x80\x95ϐ\x94\x82Ɋi\x94[\x82\xB3\x82\xEA\x82\xE9\x81B<br /> + 1 \x88ȊO\x82̏ꍇ\x82́A\x83A\x83v\x83\x8A\x83P\x81[\x83V\x83\x87\x83\x93\x82\xF0\x8BN\x93\xAE\x82\xB5\x82ă}\x83N\x83\x8D\x82ɐ\xA7\x8C䂪\x95Ԃ\xE9\x81B</dd> + <dt class="macro">\x95\xB6\x8E\x9A\x97\xF1 <current directory> (\x83I\x83v\x83V\x83\x87\x83\x93 \x83f\x83t\x83H\x83\x8B\x83g="") <em>(\x83o\x81[\x83W\x83\x87\x83\x93 4.78\x88ȍ~)</em></dt> + <dd>\x83J\x83\x8C\x83\x93\x83g\x83f\x83B\x83\x8C\x83N\x83g\x83\x8A\x82\xF0\x8Ew\x92肷\x82邱\x82Ƃ\xAA\x82ł\xAB\x82\xE9\x81B</dd> +</dl> + + <h2>\x97\xE1</h2> <pre class="macro-example">