写入会话
<h1>功能</h1>
<p>用于向终端写入命令。</p>
<h1>输入</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>命令</td>
<td>【String】,用于向终端写入命令。</td>
<td>'ping baidu.com'</td>
</tr>
</tbody>
</table>
<h1>选项</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>回车</td>
<td>【Boolean】是否添加回车直接运行命令。</td>
<td>勾选</td>
</tr>
</tbody>
</table>
<h1>注意/说明</h1>
<p>无</p>
<h1>相关函数</h1>
<p>终端应用程序范围</p>
<h1>示例/演示</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/fd10f6ddf06bb0ceb664b32c17058f18" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/ec4073371358019c4a3ca0f2fe666b6f" title="[组件[写入会话]_20210531.db">组件[写入会话]_20210531.db</a></p>