mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 03:38:03 +01:00
Don't use "-o" for uname (doesn't work on OSX)
This commit is contained in:
@@ -51,7 +51,7 @@ class AsciiCast(object):
|
|||||||
time.gmtime(self.recording_start))
|
time.gmtime(self.recording_start))
|
||||||
|
|
||||||
command = ' '.join(self.command)
|
command = ' '.join(self.command)
|
||||||
uname = self._get_cmd_output(['uname', '-osrvp'])
|
uname = self._get_cmd_output(['uname', '-srvp'])
|
||||||
shell = os.environ['SHELL']
|
shell = os.environ['SHELL']
|
||||||
term = os.environ['TERM']
|
term = os.environ['TERM']
|
||||||
lines = int(self._get_cmd_output(['tput', 'lines']))
|
lines = int(self._get_cmd_output(['tput', 'lines']))
|
||||||
|
|||||||
Reference in New Issue
Block a user