From 1fe84ec38c3e8acf2b726c3763546f3080e4e73f Mon Sep 17 00:00:00 2001 From: Joey Payne Date: Wed, 11 Nov 2015 17:09:06 -0700 Subject: [PATCH] Actually write bat file this time :) --- command_line.py | 2 ++ 1 file changed, 2 insertions(+) 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]