diff options
Diffstat (limited to 'environment.py')
-rwxr-xr-x | environment.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/environment.py b/environment.py index 301180e..753c8f0 100755 --- a/environment.py +++ b/environment.py @@ -147,13 +147,12 @@ int main(int argc, char **argv) { os.close(fd) ofile = open(srcname, 'w') code = templ % (prefix, element) - print(code) ofile.write(code) ofile.close() commands = self.get_exelist() commands.append(srcname) commands += self.get_output_flags(exename) - p = subprocess.Popen(commands, cwd=os.path.split(srcname)[0])#s, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) + p = subprocess.Popen(commands, cwd=os.path.split(srcname)[0], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) p.communicate() os.remove(srcname) if p.returncode != 0: |