Re: An easy way to pipe input into shell commands?

2010-10-02 Thread Dar Scott
On Oct 2, 2010, at 6:31 AM, David Bovill wrote: Is there a neat way to pipe input into shell commands from STDIN? You might consider the slave process feature of LiveCode which has been revamped in 4.5. Use 'open process' to run the command-line tool. Use 'write ... to process' to write

Re: An easy way to pipe input into shell commands?

2010-10-02 Thread Mark Schonewille
Hi David, One possibility might be to use CURL to connect to your standalone through a socket and pipe the data from that connection to the next shell command. This will work on Unix machines but might bot work on Windows. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Softwa

An easy way to pipe input into shell commands?

2010-10-02 Thread David Bovill
Is there a neat way to pipe input into shell commands from STDIN? The usual way I do it is to recreate everything as temporary files and then pass the file references - however it is both a hassle and can leave clutter around although I assume files stored in "the tempname" directory get cleared ou