Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by oguz-ismail

7 days ago

Because I don't want to implement a shell???

2 comments

oguz-ismail

Reply

panzi  7 days ago

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  5 days ago

    Or I can just use system() because it's there and not going anywhere

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities