aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/common/escript.c
AgeCommit message (Collapse)Author
2013-01-25Update copyright yearsBjörn-Egil Dahlberg
2013-01-08escript to accept emulator arguments when script file has no shebangMagnus Henoch
According to the documentation, if the second or third line in a script starts with %%!, then escript will use the rest of the line as emulator options. However, previously this was only the case if the first line started with #!. This change removes that check, and unconditionally uses the %%! line if present.
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2011-11-25add escript win32 alternative invocation (thanks Pierre Rouleau)Dave Cottlehuber
On Windows, escript may be passed different arvg[0] values depending on how it was started up. This patch allows for escript to be started as "escript.exe" (current behaviour) and also "escript" which is more likely when called from the default Windows cmd.exe shell.
2010-10-04escript: prevent buffer overflowsMichael Santos
Check buffer operations on input from escripts, the command line and environment variables.
2010-02-09OTP-8427 Removed spurious options to the emulator from escript.Håkan Mattsson
2010-02-09OTP-8417 Improved handling of symbolic links to escriptsHåkan Mattsson
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP