in reply to Re: Can files with extension ".command" on MacOSX be perl scripts? What is a way to let users execute Perl scripts on macosx from Finder?
in thread Can files with extension ".command" on MacOSX be perl scripts? What is a way to let users execute Perl scripts on macosx from Finder?

Thanks for the answer! But do I have to use .command extension, or Finder is smart enough to try to execute any executable file with any name that has sheebang line using system() syscall?
  • Comment on Re^2: Can files with extension ".command" on MacOSX be perl scripts? What is a way to let users execute Perl scripts on macosx from Finder?

Replies are listed 'Best First'.
Re^3: Can files with extension ".command" on MacOSX be perl scripts? What is a way to let users execute Perl scripts on macosx from Finder?
by Taulmarill (Deacon) on Feb 14, 2005 at 14:17 UTC
    finder identifies files by it's extension, so you have to name it foo.command.