From 1ecb5ac6d9bfcea9369f32b1a3ac4f94d188a519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= <sumneko@hotmail.com> Date: Wed, 5 Aug 2020 15:46:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=8D=E5=8A=A0=E4=B8=80=E4=BA=9B=E8=BE=93?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/publish.lua b/publish.lua index ab26c00..3ad20eb 100644 --- a/publish.lua +++ b/publish.lua @@ -221,9 +221,15 @@ local p, err = subprocess.shell { 'vsce', 'publish', cwd = out, stderr = true, + stdout = true, } if not p then error(err) end +for line in p.stdout:read 'l' do + print(line) +end p:wait() print(p.stderr:read 'a') + +print('完成') -- GitLab