Shabang executable path
techservices at onlinehobbyist.com
Mon Feb 14 18:45:48 GMT 2005
Gerard Samuel wrote:
> A bit off topic, but I figure someone in here, may be able to point
> me in the right direction.
> Im wondering, if its possible for the /path/to/php can be made dynamic.
> i.e. Have the file still look as if it is a shell script, but
> the path to the executable is determined at run time,
> to make it more portable.
Seems to me you could use:
Much like people often recommend for perl scripts.
Clint Gilders <techservices at onlinehobbyist.com>
Director of Technology Services
More information about the freebsd-questions