ソースを参照

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

pull/3/head
Dave Smith 12年前
コミット
8ff99f98b3
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/rebar_escripter.erl

+ 1
- 1
src/rebar_escripter.erl ファイルの表示

@ -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),

読み込み中…
キャンセル
保存