You need to use a shell to execute your command. Use shell=True when you create your Task.
Aplly the same solution for Strange behavior occurs when the test command line has quotation.
Extending atheist
Related tools
Enter search terms or a module, class or function name.