parent
c610327c9a
commit
7b8ef9cfb8
|
@ -548,11 +548,11 @@ class PipeBuffer(Buffer):
|
||||||
else:
|
else:
|
||||||
self._name = '*Pipe*'
|
self._name = '*Pipe*'
|
||||||
|
|
||||||
|
self.term = self.terms[term]()
|
||||||
self._pid, self._pty = pty.fork()
|
self._pid, self._pty = pty.fork()
|
||||||
if self._pid == 0:
|
if self._pid == 0:
|
||||||
os.execve(cmd, [cmd] + args, {'TERM': self.term.name})
|
os.execve(cmd, [cmd] + args, {'TERM': self.term.name})
|
||||||
|
|
||||||
self.term = self.terms[term]()
|
|
||||||
self._lock = threading.Lock()
|
self._lock = threading.Lock()
|
||||||
self._towrite = ''
|
self._towrite = ''
|
||||||
self._done = False
|
self._done = False
|
||||||
|
|
Loading…
Reference in New Issue