|
@@ -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');
|
|
|
}
|