[erlang-questions] Command line and quotes

Mats Cronqvist <>
Wed Dec 6 17:03:03 CET 2006


Bengt Kleberg wrote:
> On 2006-12-06 11:58, Mats Cronqvist wrote:
> ...deleted
> 
>>    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.
> 
> out of curiosity i would like to ask if the "'s are necessary? 

   the Manual sez;

run_erl [-daemon] pipe_dir/ log_dir "exec command [command_arguments]"



More information about the erlang-questions mailing list