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

Comment by pwdisswordfishz

5 days ago

No need for an absolute path, just a './' prefix.

2 comments

pwdisswordfishz

Reply

panzi  4 days ago

Yes, but running it through a function that turns it into an absolute path is a way to ensure that. A way. An easy way.

account42  5 days ago

Unless the path was already absolute.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities