MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / make_executable

Function make_executable

tools/maint/create_entry_points.py:66–68  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

64
65
66def make_executable(filename):
67 old_mode = stat.S_IMODE(os.stat(filename).st_mode)
68 os.chmod(filename, old_mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)
69
70
71def maybe_remove(filename):

Callers 1

generate_entry_pointsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected