mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2026-06-06 12:29:40 +00:00
Remove crashing log on non-linux
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
__version__ = '1.4.2'
|
||||
__version__ = '1.4.3'
|
||||
|
||||
|
||||
import os
|
||||
|
||||
@@ -179,8 +179,6 @@ class TermWebSocket(Route, tornado.websocket.WebSocketHandler):
|
||||
os.execvpe(args[0], args, env)
|
||||
|
||||
def communicate(self):
|
||||
self.log.info('PTY forked : %s (%s)' % (
|
||||
os.ttyname(self.fd), os.ctermid()))
|
||||
fcntl.fcntl(self.fd, fcntl.F_SETFL, os.O_NONBLOCK)
|
||||
|
||||
def utf8_error(e):
|
||||
|
||||
Reference in New Issue
Block a user