Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
panzi
9 months ago
|
parent
|
context
|
favorite
| on:
The curious case of shell commands, or how "this b...
If you want to run a shell script, run a shell script. I.e. a text file with the executable bit set and a shebang. If you want to generate a shell script on the fly to then run it, take a step back and think about what you're doing.
oguz-ismail
9 months ago
[–]
Or I can just use system() because it's there and not going anywhere
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: