doomcc/dcc/record.py
yrriban 2438995093 Major refactor to make handling name/path manipulation easier.
Most of this is now in doom_base.py, which stores wad/map/name, exposes them as
properties, and also takes care of most common tasks needed for building
command lines and such.
2025-05-13 05:46:26 -04:00

8 lines
229 B
Python

import dcc.config
import dcc.doom_base
import subprocess
class Record(dcc.doom_base.WadMap):
def take_action(self, parsed_args):
subprocess.run([dcc.config.DSDA] + self.dsda_preamble() +
["-record", self.demo_out_path()])