diff options
author | Scott Lystig Fritchie <slfritchie@snookles.com> | 2011-08-16 15:11:56 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-08-16 15:14:00 +0200 |
commit | 92129d6dd2225fe78174db8be24fd0ad2cd38155 (patch) | |
tree | 4dd0b2062043eb49c2dc292321aea780dced664e | |
parent | 6736e3147e8587c0c22aff5040e80f1129ce9e79 (diff) |
Document use of -noshell -noinput in emu_opts
-rwxr-xr-x | bootstrap | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -59,7 +59,9 @@ main(Args) -> case zip:create("mem", Files, [memory]) of {ok, {"mem", ZipBin}} -> %% Archive was successfully created. Prefix that binary with our - %% header and write to "rebar" file + %% header and write to "rebar" file. + %% Without -noshell -noinput escript consumes all input that would + %% otherwise go to the shell for the next command. Script = <<"#!/usr/bin/env escript\n%%! -noshell -noinput\n", ZipBin/binary>>, case file:write_file("rebar", Script) of ok -> |