MCPcopy Index your code
hub / github.com/aws/aws-cli / compat_shell_split

Function compat_shell_split

awscli/botocore/compat.py:176–183  ·  view source on GitHub ↗
(s, platform=None)

Source from the content-addressed store, hash-verified

174
175
176def compat_shell_split(s, platform=None):
177 if platform is None:
178 platform = sys.platform
179
180 if platform == "win32":
181 return _windows_shell_split(s)
182 else:
183 return shlex.split(s)
184
185
186def _windows_shell_split(s):

Callers 3

assert_equalMethod · 0.90
assert_raisesMethod · 0.90

Calls 1

_windows_shell_splitFunction · 0.85

Tested by 2

assert_equalMethod · 0.72
assert_raisesMethod · 0.72