forked from Shinonome/caelestia-cli
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