On Mon, Oct 15, 2018 at 9:34 PM ToddAndMargo via perl6-users < perl6-us...@perl.org> wrote:
> On 10/15/18 9:04 AM, Larry Wall wrote: > > This almost certainly means that $ReturnStr is a read-only paramater to > > a routine. Add "is copy" to the declaration if you want to modify it. > > I am not seeing it. > > sub RunNoShellAll( Str $RunString, Int $StdOut, Int $StdErr, Int $Code ) { > You are declaring $RunString as a read-only parameter. Try this: sub RunNoShellAll( Str $RunString is copy, Int $StdOut, Int $StdErr, Int $Code ) {