parameters: (path)
docstring: Execute the STRIP command with STRIP_FLAGS on the given path.
docstring_summary: Execute the STRIP command with STRIP_FLAGS on the given path.
docstring_tokens: Execute the STRIP command with STRIP_FLAGS on the given path .
function: def strip(path):
      '''
      Execute the STRIP command with STRIP_FLAGS on the given path.
      '''
      from buildconfig import substs
      strip = substs['STRIP']
      flags = substs['STRIP_FLAGS'].split() if 'STRIP_FLAGS' in substs else []
      cmd = [strip] + flags + [path]
      if subprocess.call(cmd) != 0:
          errors.fatal('Error executing ' + ' '.join(cmd))
function_tokens: def strip ( path ) : from buildconfig import substs strip = substs [ 'STRIP' ] flags = substs [ 'STRIP_FLAGS' ] . split ( ) if 'STRIP_FLAGS' in substs else [ ] cmd = [ strip ] + flags + [ path ] if subprocess . call ( cmd ) != 0 : errors . fatal ( 'Error executing ' + ' ' . join ( cmd ) )