in reply to Re: Passing a very long parameter list to an external command in perl
in thread Passing a very long parameter list to an external command in perl
Since you already have the list of arguments, you can use that. You will have to use the array form of system. If you need to read the stdout of the program, I think that IPC::Open3 supports an array of arguments.$ret = join " ", @$ret; #execute it ( $ret ) = $self->executeCommand( "campaign $ret" )
system('campaign', @$ret);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Passing a very long parameter list to an external command in perl
by dwhitney (Beadle) on Oct 26, 2003 at 00:40 UTC |