Improved os.executeCommand function.

executeCommand function catch now correctly pipes and vars with double quotes.
We use "shlex.split" in POSIX mode, this python function returns the command formatted for subprocess module.