{"id":282,"date":"2026-03-21T22:47:25","date_gmt":"2026-03-21T14:47:25","guid":{"rendered":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/tools-exec\/"},"modified":"2026-03-21T23:08:52","modified_gmt":"2026-03-21T15:08:52","slug":"tools-exec","status":"publish","type":"post","link":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/tools-exec\/","title":{"rendered":"Exec \u5de5\u5177"},"content":{"rendered":"<h1>Exec \u5de5\u5177<\/h1>\n<p>\u5728\u5de5\u4f5c\u533a\u4e2d\u8fd0\u884c shell \u547d\u4ee4\u3002\u901a\u8fc7 <code>process<\/code> \u652f\u6301\u524d\u53f0\u548c\u540e\u53f0\u6267\u884c\u3002<br \/>\n\u5982\u679c <code>process<\/code> \u88ab\u7981\u7528\uff0c<code>exec<\/code> \u5c06\u540c\u6b65\u8fd0\u884c\u5e76\u5ffd\u7565 <code>yieldMs<\/code>\/<code>background<\/code>\u3002<br \/>\n\u540e\u53f0\u4f1a\u8bdd\u6309\u667a\u80fd\u4f53\u9694\u79bb\uff1b<code>process<\/code> \u53ea\u80fd\u770b\u5230\u540c\u4e00\u667a\u80fd\u4f53\u7684\u4f1a\u8bdd\u3002<\/p>\n<h2>\u53c2\u6570<\/h2>\n<ul>\n<li><code>command<\/code>\uff08\u5fc5\u586b\uff09<\/li>\n<li><code>workdir<\/code>\uff08\u9ed8\u8ba4\u4e3a\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\uff09<\/li>\n<li><code>env<\/code>\uff08\u952e\u503c\u5bf9\u8986\u76d6\uff09<\/li>\n<li><code>yieldMs<\/code>\uff08\u9ed8\u8ba4 10000\uff09\uff1a\u5ef6\u8fdf\u540e\u81ea\u52a8\u8f6c\u5165\u540e\u53f0<\/li>\n<li><code>background<\/code>\uff08\u5e03\u5c14\u503c\uff09\uff1a\u7acb\u5373\u8f6c\u5165\u540e\u53f0<\/li>\n<li><code>timeout<\/code>\uff08\u79d2\uff0c\u9ed8\u8ba4 1800\uff09\uff1a\u8d85\u65f6\u540e\u7ec8\u6b62<\/li>\n<li><code>pty<\/code>\uff08\u5e03\u5c14\u503c\uff09\uff1a\u5728\u53ef\u7528\u65f6\u4f7f\u7528\u4f2a\u7ec8\u7aef\u8fd0\u884c\uff08\u4ec5\u9650 TTY \u7684 CLI\u3001\u7f16\u7a0b\u667a\u80fd\u4f53\u3001\u7ec8\u7aef UI\uff09<\/li>\n<li><code>host<\/code>\uff08<code>sandbox | gateway | node<\/code>\uff09\uff1a\u6267\u884c\u4f4d\u7f6e<\/li>\n<li><code>security<\/code>\uff08<code>deny | allowlist | full<\/code>\uff09\uff1a<code>gateway<\/code>\/<code>node<\/code> \u7684\u6267\u884c\u7b56\u7565<\/li>\n<li><code>ask<\/code>\uff08<code>off | on-miss | always<\/code>\uff09\uff1a<code>gateway<\/code>\/<code>node<\/code> \u7684\u5ba1\u6279\u63d0\u793a<\/li>\n<li><code>node<\/code>\uff08\u5b57\u7b26\u4e32\uff09\uff1a<code>host=node<\/code> \u65f6\u7684\u8282\u70b9 id\/\u540d\u79f0<\/li>\n<li><code>elevated<\/code>\uff08\u5e03\u5c14\u503c\uff09\uff1a\u8bf7\u6c42\u63d0\u5347\u6a21\u5f0f\uff08gateway \u4e3b\u673a\uff09\uff1b\u4ec5\u5f53 elevated \u89e3\u6790\u4e3a <code>full<\/code> \u65f6\u624d\u5f3a\u5236 <code>security=full<\/code><\/li>\n<\/ul>\n<p>\u6ce8\u610f\u4e8b\u9879\uff1a<\/p>\n<ul>\n<li><code>host<\/code> \u9ed8\u8ba4\u4e3a <code>sandbox<\/code>\u3002<\/li>\n<li>\u5f53\u6c99\u7bb1\u9694\u79bb\u5173\u95ed\u65f6\uff0c<code>elevated<\/code> \u4f1a\u88ab\u5ffd\u7565\uff08exec \u5df2\u5728\u4e3b\u673a\u4e0a\u8fd0\u884c\uff09\u3002<\/li>\n<li><code>gateway<\/code>\/<code>node<\/code> \u5ba1\u6279\u7531 <code>~\/.openclaw\/exec-approvals.json<\/code> \u63a7\u5236\u3002<\/li>\n<li><code>node<\/code> \u9700\u8981\u5df2\u914d\u5bf9\u7684\u8282\u70b9\uff08\u914d\u5957\u5e94\u7528\u6216\u65e0\u5934\u8282\u70b9\u4e3b\u673a\uff09\u3002<\/li>\n<li>\u5982\u679c\u6709\u591a\u4e2a\u53ef\u7528\u8282\u70b9\uff0c\u8bbe\u7f6e <code>exec.node<\/code> \u6216 <code>tools.exec.node<\/code> \u6765\u9009\u62e9\u4e00\u4e2a\u3002<\/li>\n<li>\u5728\u975e Windows \u4e3b\u673a\u4e0a\uff0cexec \u4f1a\u4f7f\u7528\u5df2\u8bbe\u7f6e\u7684 <code>SHELL<\/code>\uff1b\u5982\u679c <code>SHELL<\/code> \u662f <code>fish<\/code>\uff0c\u5b83\u4f1a\u4f18\u5148\u4ece <code>PATH<\/code> \u4e2d\u9009\u62e9 <code>bash<\/code>\uff08\u6216 <code>sh<\/code>\uff09\u4ee5\u907f\u514d fish \u4e0d\u517c\u5bb9\u7684\u811a\u672c\uff0c\u5982\u679c\u4e24\u8005\u90fd\u4e0d\u5b58\u5728\u5219\u56de\u9000\u5230 <code>SHELL<\/code>\u3002<\/li>\n<li>\u4e3b\u673a\u6267\u884c\uff08<code>gateway<\/code>\/<code>node<\/code>\uff09\u4f1a\u62d2\u7edd <code>env.PATH<\/code> \u548c\u52a0\u8f7d\u5668\u8986\u76d6\uff08<code>LD_*<\/code>\/<code>DYLD_*<\/code>\uff09\uff0c\u4ee5\u9632\u6b62\u4e8c\u8fdb\u5236\u52ab\u6301\u6216\u4ee3\u7801\u6ce8\u5165\u3002<\/li>\n<li>\u91cd\u8981\u63d0\u793a\uff1a\u6c99\u7bb1\u9694\u79bb<strong>\u9ed8\u8ba4\u5173\u95ed<\/strong>\u3002\u5982\u679c\u6c99\u7bb1\u9694\u79bb\u5173\u95ed\uff0c<code>host=sandbox<\/code> \u5c06\u76f4\u63a5\u5728 Gateway \u7f51\u5173\u4e3b\u673a\u4e0a\u8fd0\u884c\uff08\u65e0\u5bb9\u5668\uff09\u4e14<strong>\u4e0d\u9700\u8981\u5ba1\u6279<\/strong>\u3002\u5982\u9700\u5ba1\u6279\uff0c\u8bf7\u4f7f\u7528 <code>host=gateway<\/code> \u8fd0\u884c\u5e76\u914d\u7f6e exec \u5ba1\u6279\uff08\u6216\u542f\u7528\u6c99\u7bb1\u9694\u79bb\uff09\u3002<\/li>\n<\/ul>\n<h2>\u914d\u7f6e<\/h2>\n<ul>\n<li><code>tools.exec.notifyOnExit<\/code>\uff08\u9ed8\u8ba4\uff1atrue\uff09\uff1a\u4e3a true \u65f6\uff0c\u540e\u53f0 exec \u4f1a\u8bdd\u5728\u9000\u51fa\u65f6\u4f1a\u5165\u961f\u7cfb\u7edf\u4e8b\u4ef6\u5e76\u8bf7\u6c42\u5fc3\u8df3\u3002<\/li>\n<li><code>tools.exec.approvalRunningNoticeMs<\/code>\uff08\u9ed8\u8ba4\uff1a10000\uff09\uff1a\u5f53\u9700\u8981\u5ba1\u6279\u7684 exec \u8fd0\u884c\u65f6\u95f4\u8d85\u8fc7\u6b64\u503c\u65f6\u53d1\u51fa\u5355\u6b21&#8221;\u8fd0\u884c\u4e2d&#8221;\u901a\u77e5\uff080 \u8868\u793a\u7981\u7528\uff09\u3002<\/li>\n<li><code>tools.exec.host<\/code>\uff08\u9ed8\u8ba4\uff1a<code>sandbox<\/code>\uff09<\/li>\n<li><code>tools.exec.security<\/code>\uff08\u9ed8\u8ba4\uff1asandbox \u4e3a <code>deny<\/code>\uff0cgateway + node \u672a\u8bbe\u7f6e\u65f6\u4e3a <code>allowlist<\/code>\uff09<\/li>\n<li><code>tools.exec.ask<\/code>\uff08\u9ed8\u8ba4\uff1a<code>on-miss<\/code>\uff09<\/li>\n<li><code>tools.exec.node<\/code>\uff08\u9ed8\u8ba4\uff1a\u672a\u8bbe\u7f6e\uff09<\/li>\n<li><code>tools.exec.pathPrepend<\/code>\uff1aexec \u8fd0\u884c\u65f6\u6dfb\u52a0\u5230 <code>PATH<\/code> \u524d\u9762\u7684\u76ee\u5f55\u5217\u8868\u3002<\/li>\n<li><code>tools.exec.safeBins<\/code>\uff1a\u4ec5\u9650 stdin \u7684\u5b89\u5168\u4e8c\u8fdb\u5236\u6587\u4ef6\uff0c\u65e0\u9700\u663e\u5f0f\u767d\u540d\u5355\u6761\u76ee\u5373\u53ef\u8fd0\u884c\u3002<\/li>\n<\/ul>\n<p>\u793a\u4f8b\uff1a<\/p>\n<p>&#8220;`json5  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{<br \/>\n  tools: {<br \/>\n    exec: {<br \/>\n      pathPrepend: [&#8220;~\/bin&#8221;, &#8220;\/opt\/oss\/bin&#8221;],<br \/>\n    },<br \/>\n  },<br \/>\n}<\/p>\n<pre><code>\n### PATH \u5904\u7406\n\n* `host=gateway`\uff1a\u5c06\u4f60\u7684\u767b\u5f55 shell `PATH` \u5408\u5e76\u5230 exec \u73af\u5883\u4e2d\u3002\u4e3b\u673a\u6267\u884c\u65f6\u4f1a\u62d2\u7edd `env.PATH` \u8986\u76d6\u3002\u5b88\u62a4\u8fdb\u7a0b\u672c\u8eab\u4ecd\u4f7f\u7528\u6700\u5c0f `PATH` \u8fd0\u884c\uff1a\n  * macOS\uff1a`\/opt\/homebrew\/bin`\u3001`\/usr\/local\/bin`\u3001`\/usr\/bin`\u3001`\/bin`\n  * Linux\uff1a`\/usr\/local\/bin`\u3001`\/usr\/bin`\u3001`\/bin`\n* `host=sandbox`\uff1a\u5728\u5bb9\u5668\u5185\u8fd0\u884c `sh -lc`\uff08\u767b\u5f55 shell\uff09\uff0c\u56e0\u6b64 `\/etc\/profile` \u53ef\u80fd\u4f1a\u91cd\u7f6e `PATH`\u3002OpenClaw \u5728 profile \u52a0\u8f7d\u540e\u901a\u8fc7\u5185\u90e8\u73af\u5883\u53d8\u91cf\u5c06 `env.PATH` \u6dfb\u52a0\u5230\u524d\u9762\uff08\u65e0 shell \u63d2\u503c\uff09\uff1b`tools.exec.pathPrepend` \u5728\u6b64\u4e5f\u9002\u7528\u3002\n* `host=node`\uff1a\u53ea\u6709\u4f60\u4f20\u9012\u7684\u672a\u88ab\u963b\u6b62\u7684 env \u8986\u76d6\u4f1a\u53d1\u9001\u5230\u8282\u70b9\u3002\u4e3b\u673a\u6267\u884c\u65f6\u4f1a\u62d2\u7edd `env.PATH` \u8986\u76d6\u3002\u65e0\u5934\u8282\u70b9\u4e3b\u673a\u4ec5\u5728 `PATH` \u6dfb\u52a0\u5230\u8282\u70b9\u4e3b\u673a PATH \u524d\u9762\u65f6\u624d\u63a5\u53d7\uff08\u4e0d\u5141\u8bb8\u66ff\u6362\uff09\u3002macOS \u8282\u70b9\u5b8c\u5168\u4e22\u5f03 `PATH` \u8986\u76d6\u3002\n\n\u6309\u667a\u80fd\u4f53\u7ed1\u5b9a\u8282\u70b9\uff08\u5728\u914d\u7f6e\u4e2d\u4f7f\u7528\u667a\u80fd\u4f53\u5217\u8868\u7d22\u5f15\uff09\uff1a\n\n```bash  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\nopenclaw config get agents.list\nopenclaw config set agents.list[0].tools.exec.node &quot;node-id-or-name&quot;\n<\/code><\/pre>\n<p>\u63a7\u5236 UI\uff1aNodes \u6807\u7b7e\u9875\u5305\u542b\u4e00\u4e2a\u5c0f\u7684&#8221;Exec \u8282\u70b9\u7ed1\u5b9a&#8221;\u9762\u677f\u7528\u4e8e\u76f8\u540c\u7684\u8bbe\u7f6e\u3002<\/p>\n<h2>\u4f1a\u8bdd\u8986\u76d6\uff08<code>\/exec<\/code>\uff09<\/h2>\n<p>\u4f7f\u7528 <code>\/exec<\/code> \u4e3a <code>host<\/code>\u3001<code>security<\/code>\u3001<code>ask<\/code> \u548c <code>node<\/code> \u8bbe\u7f6e<strong>\u6bcf\u4f1a\u8bdd<\/strong>\u9ed8\u8ba4\u503c\u3002<br \/>\n\u4e0d\u5e26\u53c2\u6570\u53d1\u9001 <code>\/exec<\/code> \u53ef\u663e\u793a\u5f53\u524d\u503c\u3002<\/p>\n<p>\u793a\u4f8b\uff1a<\/p>\n<pre><code>\/exec host=gateway security=allowlist ask=on-miss node=mac-1\n<\/code><\/pre>\n<h2>\u6388\u6743\u6a21\u578b<\/h2>\n<p><code>\/exec<\/code> \u4ec5\u5bf9<strong>\u5df2\u6388\u6743\u53d1\u9001\u8005<\/strong>\uff08\u6e20\u9053\u767d\u540d\u5355\/\u914d\u5bf9\u52a0 <code>commands.useAccessGroups<\/code>\uff09\u751f\u6548\u3002<br \/>\n\u5b83\u4ec5\u66f4\u65b0<strong>\u4f1a\u8bdd\u72b6\u6001<\/strong>\uff0c\u4e0d\u5199\u5165\u914d\u7f6e\u3002\u8981\u5f7b\u5e95\u7981\u7528 exec\uff0c\u8bf7\u901a\u8fc7\u5de5\u5177\u7b56\u7565\u62d2\u7edd\u5b83\uff08<code>tools.deny: [\"exec\"]<\/code> \u6216\u6309\u667a\u80fd\u4f53\u914d\u7f6e\uff09\u3002\u9664\u975e\u4f60\u663e\u5f0f\u8bbe\u7f6e <code>security=full<\/code> \u548c <code>ask=off<\/code>\uff0c\u5426\u5219\u4e3b\u673a\u5ba1\u6279\u4ecd\u7136\u9002\u7528\u3002<\/p>\n<h2>Exec \u5ba1\u6279\uff08\u914d\u5957\u5e94\u7528\/\u8282\u70b9\u4e3b\u673a\uff09<\/h2>\n<p>\u6c99\u7bb1\u9694\u79bb\u7684\u667a\u80fd\u4f53\u53ef\u4ee5\u8981\u6c42\u5728 <code>exec<\/code> \u4e8e Gateway \u7f51\u5173\u6216\u8282\u70b9\u4e3b\u673a\u4e0a\u8fd0\u884c\u524d\u8fdb\u884c\u9010\u8bf7\u6c42\u5ba1\u6279\u3002<br \/>\n\u53c2\u9605 <a href=\"\/tools\/exec-approvals\">Exec \u5ba1\u6279<\/a> \u4e86\u89e3\u7b56\u7565\u3001\u767d\u540d\u5355\u548c UI \u6d41\u7a0b\u3002<\/p>\n<p>\u5f53\u9700\u8981\u5ba1\u6279\u65f6\uff0cexec \u5de5\u5177\u4f1a\u7acb\u5373\u8fd4\u56de <code>status: \"approval-pending\"<\/code> \u548c\u5ba1\u6279 id\u3002\u4e00\u65e6\u88ab\u6279\u51c6\uff08\u6216\u62d2\u7edd\/\u8d85\u65f6\uff09\uff0cGateway \u7f51\u5173\u4f1a\u53d1\u51fa\u7cfb\u7edf\u4e8b\u4ef6\uff08<code>Exec finished<\/code> \/ <code>Exec denied<\/code>\uff09\u3002\u5982\u679c\u547d\u4ee4\u5728 <code>tools.exec.approvalRunningNoticeMs<\/code> \u4e4b\u540e\u4ecd\u5728\u8fd0\u884c\uff0c\u4f1a\u53d1\u51fa\u5355\u6b21 <code>Exec running<\/code> \u901a\u77e5\u3002<\/p>\n<h2>\u767d\u540d\u5355 + \u5b89\u5168\u4e8c\u8fdb\u5236\u6587\u4ef6<\/h2>\n<p>\u767d\u540d\u5355\u6267\u884c\u4ec5\u5339\u914d<strong>\u89e3\u6790\u540e\u7684\u4e8c\u8fdb\u5236\u8def\u5f84<\/strong>\uff08\u4e0d\u5339\u914d\u57fa\u672c\u540d\u79f0\uff09\u3002\u5f53 <code>security=allowlist<\/code> \u65f6\uff0c\u4ec5\u5f53\u6bcf\u4e2a\u7ba1\u9053\u6bb5\u90fd\u5728\u767d\u540d\u5355\u4e2d\u6216\u662f\u5b89\u5168\u4e8c\u8fdb\u5236\u6587\u4ef6\u65f6\uff0cshell \u547d\u4ee4\u624d\u4f1a\u81ea\u52a8\u5141\u8bb8\u3002\u5728\u767d\u540d\u5355\u6a21\u5f0f\u4e0b\uff0c\u94fe\u5f0f\u547d\u4ee4\uff08<code>;<\/code>\u3001<code>&amp;&amp;<\/code>\u3001<code>||<\/code>\uff09\u548c\u91cd\u5b9a\u5411\u4f1a\u88ab\u62d2\u7edd\u3002<\/p>\n<h2>\u793a\u4f8b<\/h2>\n<p>\u524d\u53f0\uff1a<\/p>\n<p>&#8220;`json  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{ &#8220;tool&#8221;: &#8220;exec&#8221;, &#8220;command&#8221;: &#8220;ls -la&#8221; }<\/p>\n<pre><code>\n\u540e\u53f0 + \u8f6e\u8be2\uff1a\n\n```json  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{&quot;tool&quot;:&quot;exec&quot;,&quot;command&quot;:&quot;npm run build&quot;,&quot;yieldMs&quot;:1000}\n{&quot;tool&quot;:&quot;process&quot;,&quot;action&quot;:&quot;poll&quot;,&quot;sessionId&quot;:&quot;&lt;id&gt;&quot;}\n<\/code><\/pre>\n<p>\u53d1\u9001\u6309\u952e\uff08tmux \u98ce\u683c\uff09\uff1a<\/p>\n<p>&#8220;`json  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{&#8220;tool&#8221;:&#8221;process&#8221;,&#8221;action&#8221;:&#8221;send-keys&#8221;,&#8221;sessionId&#8221;:&#8221;&#8221;,&#8221;keys&#8221;:[&#8220;Enter&#8221;]}<br \/>\n{&#8220;tool&#8221;:&#8221;process&#8221;,&#8221;action&#8221;:&#8221;send-keys&#8221;,&#8221;sessionId&#8221;:&#8221;&#8221;,&#8221;keys&#8221;:[&#8220;C-c&#8221;]}<br \/>\n{&#8220;tool&#8221;:&#8221;process&#8221;,&#8221;action&#8221;:&#8221;send-keys&#8221;,&#8221;sessionId&#8221;:&#8221;&#8221;,&#8221;keys&#8221;:[&#8220;Up&#8221;,&#8221;Up&#8221;,&#8221;Enter&#8221;]}<\/p>\n<pre><code>\n\u63d0\u4ea4\uff08\u4ec5\u53d1\u9001 CR\uff09\uff1a\n\n```json  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{ &quot;tool&quot;: &quot;process&quot;, &quot;action&quot;: &quot;submit&quot;, &quot;sessionId&quot;: &quot;&lt;id&gt;&quot; }\n<\/code><\/pre>\n<p>\u7c98\u8d34\uff08\u9ed8\u8ba4\u5e26\u62ec\u53f7\uff09\uff1a<\/p>\n<p>&#8220;`json  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{ &#8220;tool&#8221;: &#8220;process&#8221;, &#8220;action&#8221;: &#8220;paste&#8221;, &#8220;sessionId&#8221;: &#8220;&#8221;, &#8220;text&#8221;: &#8220;line1nline2n&#8221; }<\/p>\n<pre><code>\n## apply_patch\uff08\u5b9e\u9a8c\u6027\uff09\n\n`apply_patch` \u662f `exec` \u7684\u5b50\u5de5\u5177\uff0c\u7528\u4e8e\u7ed3\u6784\u5316\u591a\u6587\u4ef6\u7f16\u8f91\u3002\n\u9700\u663e\u5f0f\u542f\u7528\uff1a\n\n```json5  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{\n  tools: {\n    exec: {\n      applyPatch: { enabled: true, allowModels: [&quot;gpt-5.2&quot;] },\n    },\n  },\n}\n<\/code><\/pre>\n<p>\u6ce8\u610f\u4e8b\u9879\uff1a<\/p>\n<ul>\n<li>\u4ec5\u9002\u7528\u4e8e OpenAI\/OpenAI Codex \u6a21\u578b\u3002<\/li>\n<li>\u5de5\u5177\u7b56\u7565\u4ecd\u7136\u9002\u7528\uff1b<code>allow: [\"exec\"]<\/code> \u9690\u5f0f\u5141\u8bb8 <code>apply_patch<\/code>\u3002<\/li>\n<li>\u914d\u7f6e\u4f4d\u4e8e <code>tools.exec.applyPatch<\/code> \u4e0b\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Exec \u5de5\u5177 \u5728\u5de5\u4f5c\u533a\u4e2d\u8fd0\u884c shell \u547d\u4ee4\u3002\u901a\u8fc7 process \u652f\u6301\u524d\u53f0\u548c\u540e\u53f0\u6267\u884c\u3002 \u5982\u679c proce [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-282","post","type-post","status-publish","format-standard","hentry","category-docs"],"_links":{"self":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/comments?post=282"}],"version-history":[{"count":1,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/282\/revisions"}],"predecessor-version":[{"id":577,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/282\/revisions\/577"}],"wp:attachment":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/media?parent=282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/categories?post=282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/tags?post=282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}