[erlang-questions] Re: how do I get the actual list of arguments passed to an escript?

Matthias Lang matthias@REDACTED
Mon Apr 4 15:55:18 CEST 2011


On Monday, April 04, Harsh J wrote:

> I'm unable to reproduce your problem on R14B02. Here's my log:
> http://paste.pocoo.org/show/365354/

> What's your bash version? Single quotes work normally for me as well.

4.1.5(1)-release

Thanks for trying. That made me look a bit closer:

  tmp >/usr/local/src/otp_src_R14B02/bin/escript args "one two"
  Args=["one two"]
  tmp >ln -s /usr/local/src/otp_src_R14B02/bin/escript .
  tmp >./escript args "one two"
  Args=["one","two"]

There's something odd going on.

Matt



More information about the erlang-questions mailing list