mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-06 07:19:29 -05:00
record: fix dir not exists error
This commit is contained in:
@@ -39,6 +39,7 @@ class Command:
|
||||
else:
|
||||
raise ValueError("No audio source found")
|
||||
|
||||
recording_path.parent.mkdir(parents=True, exist_ok=True)
|
||||
proc = subprocess.Popen(
|
||||
["wl-screenrec", *args, "--codec", "hevc", "-f", recording_path],
|
||||
stderr=subprocess.PIPE,
|
||||
|
||||
Reference in New Issue
Block a user