commit
c90bdfe0e8
|
@ -402,7 +402,13 @@ var wide = {
|
||||||
|
|
||||||
switch (data.cmd) {
|
switch (data.cmd) {
|
||||||
case 'run': // 正在运行
|
case 'run': // 正在运行
|
||||||
bottomGroup.fillOutput($('.bottom-window-group .output > div').html() + '<pre>' + data.output + '</pre>');
|
|
||||||
|
if(!wide.curProcessId){
|
||||||
|
bottomGroup.fillOutput($('.bottom-window-group .output > div').html() + '<pre>' + data.output + '</pre>');
|
||||||
|
}else{
|
||||||
|
bottomGroup.fillOutput($('.bottom-window-group .output > div').html().replace(/<\/pre>$/g, data.output + '</pre>'));
|
||||||
|
}
|
||||||
|
|
||||||
wide.curProcessId = data.pid;
|
wide.curProcessId = data.pid;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue