INNER CODE UNIT · Python
shlex_join
terraform-aws-modules/terraform-aws-lambda · package.py:95
def shlex_join(split_command):
"""Return a shell-escaped string from *split_command*."""
return " ".join(shlex.quote(arg) for arg in split_command)
################################################################################
# Common functions
def abort(message):
"""Exits with an error message."""
log.error(message)
sys.exit(1)
@contextmanager
def cd(path, silent=False):
"""Changes the working directory."""