This prevents the underlying file from being marked busy while a long-running action is happening (e.g. eureka is open).
8 lines
182 B
Python
8 lines
182 B
Python
import dcc.config
|
|
import dcc.doom_base
|
|
import os
|
|
|
|
|
|
class PB(dcc.doom_base.WadMap):
|
|
def take_action(self, parsed_args):
|
|
os.execvp("ffplay", ["ffplay", self.video_path()])
|