mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-05 07:56:50 +08:00
modified: internal/app/service/process_pty_windows.go
This commit is contained in:
@@ -136,7 +136,6 @@ func (p *ProcessPty) bufHanle(b []byte) {
|
|||||||
|
|
||||||
func (p *ProcessPty) doOnInit() {
|
func (p *ProcessPty) doOnInit() {
|
||||||
p.cacheBytesBuf = bytes.NewBuffer(make([]byte, config.CF.ProcessMsgCacheBufLimit))
|
p.cacheBytesBuf = bytes.NewBuffer(make([]byte, config.CF.ProcessMsgCacheBufLimit))
|
||||||
p.ProcessBase.Pid = utils.UnwarpIgnore(p.pty.Pid())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewProcessPty(pconfig model.Process) *ProcessBase {
|
func NewProcessPty(pconfig model.Process) *ProcessBase {
|
||||||
|
Reference in New Issue
Block a user