Allow non-immutable input strings in std.process

`string` has been replaced by `in char[]` or similar where possible.