mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Support passing plain arguments to simplenode.
`init:get_plain_arguments()` returns `["console", "more_args"]` when started with `$APP_NAME console more_args`, but `["console"]` when started with `$APP_NAME start more_args`. This patch makes `start` behave like `console` in this respect.
This commit is contained in:
parent
7dc371d8a3
commit
35a3391e7b
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ case "$1" in
|
|||
HEART_COMMAND="$RUNNER_BASE_DIR/bin/$SCRIPT start"
|
||||
export HEART_COMMAND
|
||||
mkdir -p $PIPE_DIR
|
||||
$ERTS_PATH/run_erl -daemon $PIPE_DIR $RUNNER_LOG_DIR "exec $RUNNER_BASE_DIR/bin/$SCRIPT console" 2>&1
|
||||
$ERTS_PATH/run_erl -daemon $PIPE_DIR $RUNNER_LOG_DIR "exec $RUNNER_BASE_DIR/bin/$SCRIPT ${*/start/console}" 2>&1
|
||||
;;
|
||||
|
||||
stop)
|
||||
|
|
Loading…
Reference in a new issue