Shebang line limit in bash and linux kernel

前端 未结 3 490
没有蜡笔的小新
没有蜡笔的小新 2020-11-30 09:32

I\'m trying to execute python scripts automatically generated by zc.buildout so I don\'t have control over them. My problem is that the shebang line (#!) is too long for ei

3条回答
  •  北海茫月
    2020-11-30 10:24

    Limited to 127 chars on 99.9% of systems due to kernel compile time buffer limit.

    It's limited in the kernel by BINPRM_BUF_SIZE, set in include/linux/binfmts.h.

提交回复
热议问题