gemercheung 3 years ago
parent
commit
87e9d11418
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/main/src/mainWindow.ts

+ 1 - 1
packages/main/src/mainWindow.ts

@@ -49,7 +49,7 @@ async function createWindow() {
         } catch (err) {
           try {
             if (ptyProcess) {
-              browserWindow.webContents.send('terminal.incomingData', 'ill process(0), 压力测试结束!!!');
+              browserWindow.webContents.send('terminal.incomingData', 'kill process(1), 压力测试结束!!!');
               ptyProcess.kill('SIGKILL');
               console.log('kill process');
             }