Comments (4)
hei john, i think this is not related to execline, probably this won't work too (although i didn't try it): #!/usr/bin/env /bin/bash perl
.
from s6-overlay.
john, can we close this?
from s6-overlay.
Yup, it's not an execline problem, it's the kernel's interpretation of the shebang line that is very limited. It can only read one single argument after the first space on the line.
If the shebang line was powerful enough to correctly parse a command line, there would be no need for the execlineb
parser ! :-)
... which gives the answer to @jprjr 's question: that kind of simple command line is exactly what execlineb
was made for.
#!/usr/bin/execlineb -S0
/usr/bin/with-contenv /usr/bin/env perl $@
from s6-overlay.
Sweet, thanks guys - I'll go ahead and close this.
from s6-overlay.
Related Issues (20)
- Best way to restart the container if oneshot fails ? HOT 2
- Is there a way to create and start up new services in v3 after the container is running? HOT 2
- Log File Renaming? HOT 5
- Is there a way prevent unlimited service restarts HOT 2
- Is there a way to delay service shutdown? HOT 2
- `S6_CMD_WAIT_FOR_SERVICES=1` makes no diference HOT 15
- `/command` not present in PATH HOT 7
- systemd notify service conversion exmaple HOT 4
- s6-notifyoncheck: fatal: s6-supervise not running. HOT 3
- Installing S6 on official php-fpm container shows no log output from S6 HOT 5
- Issue with s6-overlay in Cattr project when deployed on Kubernetes HOT 6
- `UID not set` error HOT 10
- Question: pass args to the underlying service HOT 6
- s6-overlay v3 only sends SIGTERM to `/etc/services.d` after `S6_SERVICES_GRACETIME` HOT 8
- Setting S6_READ_ONLY_ROOT does not copy `/etc` to `/run/s6/etc` HOT 3
- Service is started, but reported as "normally down", seemingly by default HOT 11
- 3.1.6.1 hangs at the very end of shutdown for more than a minute HOT 3
- In some rare occasions s6-overlay hangs at shutdown for undefined amount of time HOT 4
- Using s6-overlay with ECS Exec HOT 8
- How to create something similar like cont-init if this one is deprecated ? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s6-overlay.