in reply to Best practices for executable name in system() or exec()

If your objective is to use the users search path, obviously you have to avoid giving absolute paths, instead you just have to give the name of the executable. Since you have only one choice in this regard, best practice == the one and only practice.

  • Comment on Re: Best practices for executable name in system() or exec()