r47253 - fix
hawkowl-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Fri, 15 Apr 2016 10:14:35 -0600 (MDT)
| Newsgroups | gmane.comp.python.twisted.commits |
|---|---|
| Message-ID | <[email protected]> |
Author: hawkowl
Date: Fri Apr 15 10:14:30 2016
New Revision: 47253
Modified:
branches/moar-windows-8025-7/twisted/internet/_dumbwin32proc.py
Log:
fix
Modified: branches/moar-windows-8025-7/twisted/internet/_dumbwin32proc.py
==============================================================================
--- branches/moar-windows-8025-7/twisted/internet/_dumbwin32proc.py (original)
+++ branches/moar-windows-8025-7/twisted/internet/_dumbwin32proc.py Fri Apr 15 10:14:30 2016
@@ -183,8 +183,8 @@
cmdline = quoteArguments(args)
if _PY3:
- # The command, too, needs to be Unicode.
- command = _maybeMBCS(command)
+ # The command, too, needs to be Unicode, if it is a value.
+ command = _maybeMBCS(command) if command else command
# TODO: error detection here. See #2787 and #4184.
def doCreate():