mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 10:01:54 +00:00
argv_type on Windows can be either
This commit is contained in:
parent
c673726139
commit
ee99c610b3
@ -145,7 +145,7 @@ def unicode_to_argv(s, mangle=False):
|
||||
|
||||
# According to unicode_to_argv above, the expected type for
|
||||
# cli args depends on the platform, so capture that expectation.
|
||||
argv_type = future_str if sys.platform == "win32" else native_str
|
||||
argv_type = (future_str, native_str) if sys.platform == "win32" else native_str
|
||||
"""
|
||||
The expected type for args to a subprocess
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user