Ben Chuanlong Du's Blog

It is never too late to learn.

Absolute or Relative Path for Executables

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

When you call shell commands in your code, a nature question to ask is whether you should the absolute or a relative path (command). Both ways have their advantages and disadvantages …