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.
8 lines
229 B
Python
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()])
|