{"id":1092594,"date":"2025-01-08T14:22:41","date_gmt":"2025-01-08T06:22:41","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1092594.html"},"modified":"2025-01-08T14:22:44","modified_gmt":"2025-01-08T06:22:44","slug":"python%e5%a6%82%e4%bd%95%e6%89%93%e5%bc%80%e5%91%bd%e4%bb%a4%e6%8f%90%e7%a4%ba%e7%ac%a6-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1092594.html","title":{"rendered":"python\u5982\u4f55\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24205544\/a6c04f96-ad9b-4c2c-a12a-c17acd91eff8.webp\" alt=\"python\u5982\u4f55\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\" \/><\/p>\n<p><p> <strong>Python \u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u7684\u51e0\u79cd\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528 <code>os<\/code> \u6a21\u5757\u3001\u4f7f\u7528 <code>subprocess<\/code> \u6a21\u5757\u3001\u4f7f\u7528 <code>platform<\/code> \u6a21\u5757\u6765\u5224\u65ad\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u3002\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\u547d\u4ee4\u884c\u6307\u4ee4\u3002<\/strong>  <\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u8c03\u7528\u7279\u5b9a\u7684\u6a21\u5757\u548c\u51fd\u6570\u6765\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u5e76\u6267\u884c\u547d\u4ee4\u3002\u6700\u5e38\u7528\u7684\u6a21\u5757\u662f<code>os<\/code>\u6a21\u5757\u548c<code>subprocess<\/code>\u6a21\u5757\u3002\u4f7f\u7528\u8fd9\u4e9b\u6a21\u5757\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u8c03\u7528<code>os.system()<\/code>\u51fd\u6570\u3001\u4f7f\u7528<code>subprocess.run()<\/code>\u6216<code>subprocess.Popen()<\/code>\u51fd\u6570\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<h2><strong>\u4e00\u3001\u4f7f\u7528 os \u6a21\u5757<\/strong><\/h2>\n<p><p>Python\u7684<code>os<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u4e0e\u64cd\u4f5c\u7cfb\u7edf\u8fdb\u884c\u4ea4\u4e92\u7684\u529f\u80fd\uff0c\u5305\u62ec\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\u3002\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u662f\u4f7f\u7528<code>os.system()<\/code>\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><h2>1\u3001os.system()<\/h2>\n<\/p>\n<p><p><code>os.system()<\/code>\u51fd\u6570\u53ef\u4ee5\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u6267\u884c\u4e00\u4e2a\u547d\u4ee4\uff0c\u7136\u800c\u5b83\u5e76\u4e0d\u4f1a\u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u547d\u4ee4\u63d0\u793a\u7b26\u7a97\u53e3\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import os<\/p>\n<h2><strong>\u6267\u884c\u4e00\u4e2a\u7b80\u5355\u7684\u547d\u4ee4<\/strong><\/h2>\n<p>os.system(&#39;echo Hello World&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u51fa\u201cHello World\u201d\u3002\u4f46\u662f\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c<code>os.system()<\/code>\u51fd\u6570\u662f\u540c\u6b65\u7684\uff0c\u5b83\u4f1a\u7b49\u5f85\u547d\u4ee4\u6267\u884c\u5b8c\u6bd5\u540e\u624d\u8fd4\u56de\u3002<\/p>\n<\/p>\n<p><h2>2\u3001os.popen()<\/h2>\n<\/p>\n<p><p><code>os.popen()<\/code>\u51fd\u6570\u53ef\u4ee5\u7528\u6765\u6267\u884c\u547d\u4ee4\u5e76\u83b7\u53d6\u5176\u8f93\u51fa\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import os<\/p>\n<h2><strong>\u6267\u884c\u547d\u4ee4\u5e76\u83b7\u53d6\u8f93\u51fa<\/strong><\/h2>\n<p>with os.popen(&#39;dir&#39;) as stream:<\/p>\n<p>    output = stream.read()<\/p>\n<p>    print(output)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u6267\u884c<code>dir<\/code>\u547d\u4ee4\uff0c\u5e76\u5c06\u5176\u8f93\u51fa\u6253\u5370\u5230\u63a7\u5236\u53f0\u3002<\/p>\n<\/p>\n<h2><strong>\u4e8c\u3001\u4f7f\u7528 subprocess \u6a21\u5757<\/strong><\/h2>\n<p><p><code>subprocess<\/code>\u6a21\u5757\u662fPython 3\u4e2d\u63a8\u8350\u7528\u4e8e\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\u7684\u6a21\u5757\u3002\u5b83\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u529f\u80fd\u548c\u66f4\u597d\u7684\u7075\u6d3b\u6027\u3002<\/p>\n<\/p>\n<p><h2>1\u3001subprocess.run()<\/h2>\n<\/p>\n<p><p><code>subprocess.run()<\/code>\u51fd\u6570\u53ef\u4ee5\u7528\u6765\u6267\u884c\u547d\u4ee4\u5e76\u7b49\u5f85\u5176\u5b8c\u6210\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import subprocess<\/p>\n<h2><strong>\u6267\u884c\u4e00\u4e2a\u7b80\u5355\u7684\u547d\u4ee4<\/strong><\/h2>\n<p>result = subprocess.run([&#39;echo&#39;, &#39;Hello World&#39;], capture_output=True, text=True)<\/p>\n<p>print(result.stdout)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u51fa\u201cHello World\u201d\u3002<code>capture_output=True<\/code>\u53c2\u6570\u8868\u793a\u6355\u83b7\u547d\u4ee4\u7684\u8f93\u51fa\uff0c<code>text=True<\/code>\u53c2\u6570\u8868\u793a\u5c06\u8f93\u51fa\u4f5c\u4e3a\u5b57\u7b26\u4e32\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h2>2\u3001subprocess.Popen()<\/h2>\n<\/p>\n<p><p><code>subprocess.Popen()<\/code>\u51fd\u6570\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u7075\u6d3b\u6027\uff0c\u53ef\u4ee5\u7528\u6765\u6267\u884c\u547d\u4ee4\u5e76\u4e0e\u5176\u4ea4\u4e92\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import subprocess<\/p>\n<h2><strong>\u6253\u5f00\u4e00\u4e2a\u547d\u4ee4\u63d0\u793a\u7b26\u7a97\u53e3<\/strong><\/h2>\n<p>process = subprocess.Popen([&#39;cmd.exe&#39;], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)<\/p>\n<h2><strong>\u53d1\u9001\u547d\u4ee4\u5e76\u83b7\u53d6\u8f93\u51fa<\/strong><\/h2>\n<p>process.stdin.write(&#39;echo Hello World\\n&#39;)<\/p>\n<p>process.stdin.flush()<\/p>\n<p>output = process.stdout.read()<\/p>\n<p>print(output)<\/p>\n<h2><strong>\u5173\u95ed\u547d\u4ee4\u63d0\u793a\u7b26\u7a97\u53e3<\/strong><\/h2>\n<p>process.stdin.write(&#39;exit\\n&#39;)<\/p>\n<p>process.stdin.flush()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u547d\u4ee4\u63d0\u793a\u7b26\u7a97\u53e3\uff0c\u6267\u884c<code>echo Hello World<\/code>\u547d\u4ee4\uff0c\u5e76\u5c06\u5176\u8f93\u51fa\u6253\u5370\u5230\u63a7\u5236\u53f0\u3002<\/p>\n<\/p>\n<h2><strong>\u4e09\u3001\u5224\u65ad\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b<\/strong><\/h2>\n<p><p>\u5728\u7f16\u5199\u8de8\u5e73\u53f0\u811a\u672c\u65f6\uff0c\u5224\u65ad\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u662f\u5f88\u91cd\u8981\u7684\u3002Python\u7684<code>platform<\/code>\u6a21\u5757\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5b9e\u73b0\u8fd9\u4e00\u70b9\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import platform<\/p>\n<p>import os<\/p>\n<h2><strong>\u5224\u65ad\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b<\/strong><\/h2>\n<p>system = platform.system()<\/p>\n<p>if system == &#39;Windows&#39;:<\/p>\n<p>    os.system(&#39;cmd.exe&#39;)<\/p>\n<p>elif system == &#39;Linux&#39;:<\/p>\n<p>    os.system(&#39;x-terminal-emulator&#39;)<\/p>\n<p>elif system == &#39;Darwin&#39;:<\/p>\n<p>    os.system(&#39;open -a Terminal&#39;)<\/p>\n<p>else:<\/p>\n<p>    print(&#39;Unsupported operating system&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u6839\u636e\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u6253\u5f00\u76f8\u5e94\u7684\u547d\u4ee4\u63d0\u793a\u7b26\u7a97\u53e3\u3002<\/p>\n<\/p>\n<h2><strong>\u56db\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93<\/strong><\/h2>\n<p><p>\u9664\u4e86\u6807\u51c6\u5e93\uff0cPython\u8fd8\u6709\u4e00\u4e9b\u7b2c\u4e09\u65b9\u5e93\u53ef\u4ee5\u7528\u6765\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\u3002\u4e00\u4e2a\u6d41\u884c\u7684\u5e93\u662f<code>sh<\/code>\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u63a5\u53e3\u6765\u8c03\u7528\u7cfb\u7edf\u547d\u4ee4\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sh<\/p>\n<h2><strong>\u6267\u884c\u4e00\u4e2a\u7b80\u5355\u7684\u547d\u4ee4<\/strong><\/h2>\n<p>output = sh.echo(&#39;Hello World&#39;)<\/p>\n<p>print(output)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u51fa\u201cHello World\u201d\u3002<code>sh<\/code>\u5e93\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7c7b\u4f3c\u4e8eshell\u7684\u63a5\u53e3\uff0c\u4f7f\u5f97\u8c03\u7528\u7cfb\u7edf\u547d\u4ee4\u66f4\u52a0\u76f4\u89c2\u548c\u65b9\u4fbf\u3002<\/p>\n<\/p>\n<h2><strong>\u4e94\u3001\u603b\u7ed3<\/strong><\/h2>\n<p><p>\u5728Python\u4e2d\uff0c\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u7528\u6765\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u5e76\u6267\u884c\u547d\u4ee4\u3002\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528<code>os<\/code>\u6a21\u5757\u548c<code>subprocess<\/code>\u6a21\u5757\u3002<code>os.system()<\/code>\u51fd\u6570\u548c<code>subprocess.run()<\/code>\u51fd\u6570\u9002\u7528\u4e8e\u7b80\u5355\u7684\u547d\u4ee4\uff0c\u800c<code>subprocess.Popen()<\/code>\u51fd\u6570\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u7075\u6d3b\u6027\uff0c\u53ef\u4ee5\u7528\u6765\u6267\u884c\u590d\u6742\u7684\u547d\u4ee4\u548c\u4e0e\u547d\u4ee4\u4ea4\u4e92\u3002\u6b64\u5916\uff0c\u5224\u65ad\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u548c\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u4e5f\u662f\u5e38\u89c1\u7684\u65b9\u6cd5\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Windows\u7cfb\u7edf\u4e2d\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff1f<\/strong><br \/>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3002\u5e38\u89c1\u7684\u65b9\u6cd5\u5305\u62ec\uff1a  <\/p>\n<ol>\n<li>\u4f7f\u7528\u5feb\u6377\u952e\uff1a\u6309\u4e0b<code>Win + R<\/code>\u7ec4\u5408\u952e\uff0c\u8f93\u5165<code>cmd<\/code>\uff0c\u7136\u540e\u6309\u4e0b\u56de\u8f66\u952e\u5373\u53ef\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3002<\/li>\n<li>\u4ece\u5f00\u59cb\u83dc\u5355\uff1a\u70b9\u51fb\u5de6\u4e0b\u89d2\u7684\u5f00\u59cb\u6309\u94ae\uff0c\u627e\u5230\u201cWindows\u7cfb\u7edf\u201d\u6587\u4ef6\u5939\uff0c\u70b9\u51fb\u5176\u4e2d\u7684\u201c\u547d\u4ee4\u63d0\u793a\u7b26\u201d\u3002<\/li>\n<li>\u53f3\u952e\u83dc\u5355\uff1a\u5728\u4efb\u610f\u6587\u4ef6\u5939\u7a7a\u767d\u5904\u6309\u4f4f<code>Shift<\/code>\u952e\u7684\u540c\u65f6\u53f3\u51fb\uff0c\u9009\u62e9\u201c\u5728\u6b64\u5904\u6253\u5f00\u547d\u4ee4\u7a97\u53e3\u201d\uff0c\u5373\u53ef\u5feb\u901f\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3002<\/li>\n<\/ol>\n<p><strong>\u5728Mac\u7cfb\u7edf\u4e2d\u5982\u4f55\u6253\u5f00\u7ec8\u7aef\uff1f<\/strong><br \/>\u5bf9\u4e8e\u4f7f\u7528Mac\u7cfb\u7edf\u7684\u7528\u6237\uff0c\u6253\u5f00\u7ec8\u7aef\u975e\u5e38\u7b80\u5355\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u5b9e\u73b0\uff1a  <\/p>\n<ol>\n<li>\u76f4\u63a5\u4f7f\u7528Spotlight\u641c\u7d22\uff1a\u6309\u4e0b<code>Command + Space<\/code>\uff0c\u8f93\u5165\u201c\u7ec8\u7aef\u201d\u5e76\u6309\u4e0b\u56de\u8f66\u952e\u3002<\/li>\n<li>\u4ece\u5e94\u7528\u7a0b\u5e8f\u4e2d\u6253\u5f00\uff1a\u8fdb\u5165\u201c\u5e94\u7528\u7a0b\u5e8f\u201d\u6587\u4ef6\u5939\uff0c\u627e\u5230\u201c\u5b9e\u7528\u5de5\u5177\u201d\u6587\u4ef6\u5939\uff0c\u5728\u5176\u4e2d\u53ef\u4ee5\u627e\u5230\u201c\u7ec8\u7aef\u201d\u5e94\u7528\u7a0b\u5e8f\u3002<\/li>\n<li>\u4f7f\u7528Launchpad\uff1a\u70b9\u51fbLaunchpad\u56fe\u6807\uff0c\u627e\u5230\u201c\u5176\u4ed6\u201d\u6587\u4ef6\u5939\uff0c\u91cc\u9762\u4e5f\u6709\u201c\u7ec8\u7aef\u201d\u9009\u9879\u3002<\/li>\n<\/ol>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u901a\u8fc7\u547d\u4ee4\u63d0\u793a\u7b26\u8fd0\u884c\u811a\u672c\uff1f<\/strong><br \/>\u8981\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8fd0\u884cPython\u811a\u672c\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\uff1a  <\/p>\n<ol>\n<li>\u786e\u4fdd\u5df2\u5b89\u88c5Python\u5e76\u5c06\u5176\u8def\u5f84\u6dfb\u52a0\u5230\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u4e2d\u3002<\/li>\n<li>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u5e76\u4f7f\u7528<code>cd<\/code>\u547d\u4ee4\u5bfc\u822a\u5230\u811a\u672c\u6240\u5728\u7684\u76ee\u5f55\u3002<\/li>\n<li>\u8f93\u5165<code>python script_name.py<\/code>\uff08\u5c06<code>script_name.py<\/code>\u66ff\u6362\u4e3a\u4f60\u7684\u811a\u672c\u6587\u4ef6\u540d\uff09\u5e76\u6309\u4e0b\u56de\u8f66\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u8fd0\u884c\u4f60\u7684Python\u811a\u672c\u4e86\u3002\u5982\u679c\u4f7f\u7528\u7684\u662fPython 3\uff0c\u53ef\u80fd\u9700\u8981\u4f7f\u7528<code>python3<\/code>\u547d\u4ee4\u3002<\/li>\n<\/ol>\n<p><strong>\u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\u53ef\u4ee5\u6267\u884c\u54ea\u4e9bPython\u64cd\u4f5c\uff1f<\/strong><br \/>\u547d\u4ee4\u63d0\u793a\u7b26\u5141\u8bb8\u7528\u6237\u6267\u884c\u591a\u79cdPython\u76f8\u5173\u7684\u64cd\u4f5c\uff0c\u5305\u62ec\uff1a  <\/p>\n<ol>\n<li>\u8fd0\u884cPython\u811a\u672c\uff0c\u5904\u7406\u6570\u636e\u548c\u81ea\u52a8\u5316\u4efb\u52a1\u3002<\/li>\n<li>\u5b89\u88c5\u548c\u7ba1\u7406Python\u5305\uff0c\u4f7f\u7528<code>pip install package_name<\/code>\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\u3002<\/li>\n<li>\u542f\u52a8Python\u4ea4\u4e92\u5f0f\u73af\u5883\uff0c\u8f93\u5165<code>python<\/code>\u6216<code>python3<\/code>\u5373\u53ef\u8fdb\u5165\u4ea4\u4e92\u6a21\u5f0f\u8fdb\u884c\u6d4b\u8bd5\u548c\u8c03\u8bd5\u4ee3\u7801\u3002<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"Python \u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u7684\u51e0\u79cd\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528 os \u6a21\u5757\u3001\u4f7f\u7528 subprocess \u6a21\u5757\u3001\u4f7f\u7528 plat [&hellip;]","protected":false},"author":3,"featured_media":1092605,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1092594"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1092594"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1092594\/revisions"}],"predecessor-version":[{"id":1092607,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1092594\/revisions\/1092607"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1092605"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1092594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1092594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1092594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}