On Mon, Feb 13, 2006 at 06:45:11PM +0000, Peter Bortas (nu med mindre Opera) @ Pike (-) developers forum wrote:
I guess modifiers->stdin could be extended to string|Stdio.File instead of just Stdio.File, but do you have a usecase for this? I'm not convinced that this makes things easier and less confused.
is almost all cases i have the data i want to send to an external process locally available as a string. (if i had it in a file, i'd be writing a shell script) i could work around Stdio.File by using FakeFile, but string is generally easier.
the usecase is that, i use pike to process most of the data, and only occasionally need to use an external process to handle stuff. what the external process gets to work with i want to control from within pike.
greetings, martin.