Shell stdin/stdout

J. Landman Gay jacque at hyperactivesw.com
Sun Aug 11 23:43:40 EDT 2013


On 8/11/13 10:28 PM, Mark Wieder wrote:
> Jacque-
>
> Sunday, August 11, 2013, 8:07:23 PM, you wrote:
>
>> The "it" variable is empty, and the new file appears on disk. I want to
>> do this:
>
>>      put <pathToPngquant> && "16" && (the text of img 1) into tCmd
>>      get shell(tCmd) -- get binary data back
>
>> Or, if not the text of img 1, using the binary data of an image on disk
>> would be okay too.
>
> Untested, but how about
>
> put <pathToPngquant> && "16" && "<" && (the text of img 1) into tCmd
> get shell(tCmd)
>

Thanks Mark, I had high hopes, but:

   /bin/sh: line 1: tCmd: command not found

But if I pass it a real path on disk, the same command works. Only I get 
a file.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list