[erlang-questions] Command line and quotes

Mats Cronqvist <>
Wed Dec 6 11:58:32 CET 2006


Pupeno wrote:
> Hello,
> I have a script that starts and stops my Erlang application fanterlasticfour, 
> the command to start is (in bash):
> 
>  "$RUN_ERL -daemon $PIPEDIR/ $LOGDIR/ \"$ERL -sname $NAME -boot 
> fanterlasticfour -config /usr/local/etc//fanterlasticfour/fanterlasticfour\""

   i don't really know anything about bash quoting, but this;

$ run_erl -daemon /tmp/ /tmp "erl -sname aname"

   and this;

#!/bin/bash
run_erl -daemon /tmp/ /tmp "erl -sname aname"

   should (and does) work.

   mats



More information about the erlang-questions mailing list