in reply to Re: segmentation fault
in thread segmentation fault
Using an array to store the individual command-line tokens means that you don't need to worry about quoting or escaping shell-magic characters (like ";").my @command = ( 'cfi', '-N', $bsc, '-l', "RLSTP:CELL=$cell;" ); open( CFI "-|", @command ) or die "unable to run \"@command\": $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: segmentation fault
by lbarbago (Initiate) on Sep 23, 2009 at 06:47 UTC | |
by graff (Chancellor) on Sep 23, 2009 at 13:35 UTC |