Skip to content
Snippets Groups Projects
Commit cd61a015 authored by Auke Klazema's avatar Auke Klazema
Browse files

SW-609: Change file into open.

parent 65bf24ff
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ def runCommand(cmdline, input=None):
# Start command
proc = subprocess.Popen(
cmdline,
stdin=subprocess.PIPE if input else file("/dev/null"),
stdin=subprocess.PIPE if input else open("/dev/null"),
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
shell=True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment