Don't use "-o" for uname (doesn't work on OSX)

This commit is contained in:
Marcin Kulik
2012-02-22 17:57:17 +01:00
parent 33b0a5d9f2
commit 67e0c0ad54

View File

@@ -51,7 +51,7 @@ class AsciiCast(object):
time.gmtime(self.recording_start))
command = ' '.join(self.command)
uname = self._get_cmd_output(['uname', '-osrvp'])
uname = self._get_cmd_output(['uname', '-srvp'])
shell = os.environ['SHELL']
term = os.environ['TERM']
lines = int(self._get_cmd_output(['tput', 'lines']))