From: Yohanes Santoso Date: 2002-03-04T23:38:02+09:00 Subject: unrolling array for method argument Suppose I have cmd=["echo", "*", "*"], I want to unroll this cmd so that when I call system, it calls, in effect, system("echo", "*", "*"). The number of argument to echo is known only at run-time. Currently I'm concat-ing them into a string with each argument double-quoted to prevent shell expansion: cmd="echo \"#{arg1}\"". Any better way? YS.