mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-15 19:28:00 +01:00
Bugfix: Ensure ASCIINEMA_REC set on record (#372).
This commit is contained in:
@@ -15,7 +15,7 @@ def record(path, command=None, append=False, idle_time_limit=None,
|
|||||||
|
|
||||||
if command_env is None:
|
if command_env is None:
|
||||||
command_env = os.environ.copy()
|
command_env = os.environ.copy()
|
||||||
command_env['ASCIINEMA_REC'] = '1'
|
command_env['ASCIINEMA_REC'] = '1'
|
||||||
|
|
||||||
if capture_env is None:
|
if capture_env is None:
|
||||||
capture_env = ['SHELL', 'TERM']
|
capture_env = ['SHELL', 'TERM']
|
||||||
|
|||||||
Reference in New Issue
Block a user