Shebang line limit in bash and linux kernel -


i'm trying execute python scripts automatically generated zc.buildout don't have control on them. problem shebang line (#!) long either bash (80 character limit) or direct execution (some linux kernel constant don't know).

this example script reproduce problem:

#!/././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././bin/bash echo hola! 

how can bash or kernel configured allow bigger shebang lines?

it's limited in kernel binprm_buf_size, set in include/linux/binfmts.h.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -