diff --git a/command_line.py b/command_line.py index 498e4f8..b83d35c 100644 --- a/command_line.py +++ b/command_line.py @@ -952,6 +952,8 @@ class CommandBase(object): batcontents = '{}\n{}'.format(env_vars, contents) bat_file = utils.path_join(TEMP_DIR, '{}.bat'.format(self.project_name())) + with open(bat_file, 'w+') as f: + f.write(batcontents) command = [bat_file]