def EncodePOSIXShellArgument(argument):

  if not isinstance(argument, str):
    argument = str(argument)

  if _quote.search(argument):
    quote = '"'
  else:
    quote = ''

  encoded = quote + re.sub(_escape, r'\\\1', argument) + quote

  return encoded
This function locates a resource inside the plugin and returns
dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/common.py/EncodePOSIXShellArgument--crossover with--dataset/ETHPy150Open dragondjf/PFramer/util/pluginbase.py/PluginSource.open_resource