소스 검색

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

불러오는 중...
취소
저장