忘记注释测试内容了(

This commit is contained in:
SmallK111407 2024-06-09 04:03:50 +08:00
parent 8826627e5c
commit 677d7d4082
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ function runPm2Logs(appName) {
const command = process.platform === "win32" ? "pm2.cmd" : "pm2" const command = process.platform === "win32" ? "pm2.cmd" : "pm2"
const args = ["logs", "--lines", "400", appName] const args = ["logs", "--lines", "400", appName]
console.log(`Command: ${command}`) // console.log(`Command: ${command}`)
console.log(`Args: ${args.join(" ")}`) // console.log(`Args: ${args.join(" ")}`)
const pm2LogsProcess = childProcess.spawn(command, args, { stdio: "inherit", shell: true }) const pm2LogsProcess = childProcess.spawn(command, args, { stdio: "inherit", shell: true })