in reply to Re: feeding text to a process, and capturing its output, safely
in thread feeding text to a process, and capturing its output, safely
Oh, you mean will I elaborate?
OK.
No shell is involved. This makes it safer than the solutions I've seen that usually end up as something like:
The problem is that $INPUT is being handed to a shell, making me have to worry and wonder about all shell-sensitive characters.my @RESULT = `echo $INPUT | Some Command`;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: Re: feeding text to a process, and capturing its output, safely
by QM (Parson) on Mar 23, 2004 at 20:51 UTC | |
by jonadab (Parson) on Mar 23, 2004 at 22:21 UTC |