Commit f7079b0e authored by Ben Cooksley's avatar Ben Cooksley

Why is this using shlex...

parent 70ac2ca6
......@@ -68,7 +68,7 @@ if sys.platform == 'win32':
if os.path.exists( mimeDirectory ):
# Let's run update-mime-database
commandToRun = BuildSystem.substituteCommandTokens( 'update-mime-database "' + mimeDirectory + '"' )
subprocess.call( shlex.split(command), stdout=sys.stdout, stderr=sys.stderr, env=buildEnvironment )
subprocess.check_call( commandToRun, stdout=sys.stdout, stderr=sys.stderr, shell=True, env=buildEnvironment )
# The project was installed successfully
sys.exit(0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment