Explorar el Código

noshell/noinput should NOT be the default emulator args for an escript

pull/3/head
Dave Smith hace 12 años
padre
commit
8ff99f98b3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/rebar_escripter.erl

+ 1
- 1
src/rebar_escripter.erl Ver fichero

@ -70,7 +70,7 @@ escriptize(Config0, AppFile) ->
Shebang = rebar_config:get(Config, escript_shebang,
"#!/usr/bin/env escript\n"),
Comment = rebar_config:get(Config, escript_comment, "%%\n"),
DefaultEmuArgs = ?FMT("%%! -pa ~s/~s/ebin -noshell -noinput\n",
DefaultEmuArgs = ?FMT("%%! -pa ~s/~s/ebin\n",
[AppNameStr, AppNameStr]),
EmuArgs = rebar_config:get(Config, escript_emu_args,
DefaultEmuArgs),

Cargando…
Cancelar
Guardar