Popen expect a list of strings for non-shell calls and a string for shell calls.
Call subprocess.Popen with shell=True:
process = subprocess.Popen(command, stdout=tempFile, shell=True)
Hopefully this solves your issue.
This issue is listed here: https://bugs.python.org/issue17023
Related Posts:
- Could not find a version that satisfies the requirement tensorflow
- Could not find a version that satisfies the requirement tensorflow
- Local variable referenced before assignment?
- TypeError: write() argument must be str, not bytes (Python 3 vs Python 2 )
- Change figure size and figure format in matplotlib
- ValueError: unsupported pickle protocol: 3, python2 pickle can not load the file dumped by python 3 pickle?
- ValueError: unsupported pickle protocol: 3, python2 pickle can not load the file dumped by python 3 pickle?
- Type error Unhashable type:set
- TypeError: ‘_io.TextIOWrapper’ object is not subscriptable
- What is the meaning of “int(a[::-1])” in Python?
- dump() missing 1 required positional argument: ‘fp’ in python json
- Does python have header files like C/C++?
- Use Gif Logo For Loading Screen In Kivy
- How can I make a time delay in Python? [duplicate]
- Python – TypeError: ‘int’ object is not iterable
- Python: ‘ModuleNotFoundError’ when trying to import module from imported package
- TypeError: ‘int’ object is not callable
- TypeError: ‘int’ object is not callable
- What does the list() function do in Python?
- Python ‘If not’ syntax [duplicate]
- Converting dictionary to JSON
- Invalid character in identifier
- Convert bytes to a string
- TypeError: ‘type’ object is not subscriptable when indexing in to a dictionary
- Cannot find module cv2 when using OpenCV
- Invalid character in identifier
- Convert list to tuple in Python
- ‘str’ object has no attribute ‘decode’. Python 3 error?
- How to find all the indexes of a recurring item in a list?
- How do you use subprocess.check_output() in Python?
- (Help) TypeError: ‘str’ object cannot be interpreted as an integer
- How do order of operations go on Python?
- Why KeyError: 0
- Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)
- Pinging servers in Python
- Import error: No module name urllib2
- Check string “None” or “not” in Python 2.7
- re.search().TypeError: cannot use a string pattern on a bytes-like object
- Add Legend to Seaborn point plot
- How can I install Python’s pip3 on my Mac?
- how to update spyder on anaconda
- IndexError: index 1 is out of bounds for axis 0 with size 1/ForwardEuler
- TypeError(“‘bool’ object is not iterable”,) when trying to return a Boolean
- Get ZeroDivisionError: float division in python
- TypeError: unsupported operand type(s) for -: ‘list’ and ‘list’
- AttributeError: ‘datetime’ module has no attribute ‘strptime’
- Python add item to the tuple
- How to delete last item in list?
- Converting binary to decimal integer output
- Don’t understand this SyntaxError: illegal target for annotation
- No module named setuptools
- Using Queue in python
- TypeError(“‘bool’ object is not iterable”,) when trying to return a Boolean
- “for line in…” results in UnicodeDecodeError: ‘utf-8’ codec can’t decode byte
- SyntaxError invalid token
- How do I format a string using a dictionary in python-3.x?
- For loop and ‘numpy.float64’ object is not iterable error
- How to fix: “UnicodeDecodeError: ‘ascii’ codec can’t decode byte”
- python mpl_toolkits installation issue
- Shebang doesn’t work with python3
- TypeError: ‘dict_keys’ object does not support indexing
- How to strip all whitespace from string
- Python Binomial Coefficient
- What is the difference between json.load() and json.loads() functions
- pythonw.exe or python.exe?
- How to convert ‘binary string’ to normal string in Python3?
- Copy a list of list by value and not reference
- python3 TypeError: ‘function’ object is not iterable
- How to start from second index for for-loop
- Converting a sentence to piglatin in Python
- scrapy run spider from script
- Python Error – TypeError: input expected at most 1 arguments, got 3 [duplicate]
- A general tree implementation?
- python error: TypeError: an integer is required
- ModuleNotFoundError: No module named ‘seaborn’ in Python IDE
- Is there a ceiling equivalent of // operator in Python?
- Python Requests – No connection adapters
- How to detect key presses?
- TypeError: ‘set’ object does not support indexing
- Root mean square of a function in python
- ‘virtualenv’ is not recognized as an internal or external command, operable program or batch file
- Checking to see if a string is an integer or float
- pip throws TypeError: parse() got an unexpected keyword argument ‘transport_encoding’ when trying to install new packages
- Split string using a newline delimiter with Python
- No module named urllib3
- How to know/change current directory in Python shell?
- AttributeError: ‘tuple’ object has no attribute
- What is an easy way to implement fprintf in python?
- How to open html file?
- “Python version 2.7 required, which was not found in the registry” error when attempting to install netCDF4 on Windows 8
- How to use cmp() in Python 3?
- Generator expression must be parenthesized if not sole argument
- Error: No module named ‘fcntl’
- Python can’t find file
- TypeError: got multiple values for argument
- IOError: [Errno 32] Broken pipe when piping: `prog.py | othercmd`
- Python webbrowser.open() to open Chrome browser
- Python 2.7 mixing iteration and read methods would lose data
- Python list index out of range on return value of split
- Python: OSError: [Errno 2] No such file or directory: ”