Passing data to shell()

David Bovill david at viral.academy
Fri Jan 22 12:09:30 EST 2016


I'm wandering if there is a more advanced way to pass data from a Livecode
variable to a command line process using shell().

I'm used to using "echo 'Hello World' > less" or saving the data to disk
then passing the filename to shell() - both are slower and messier than
needed. Is there a better way perhaps using environmental variables or open
process?

The actual use-case here is to use pandoc to convert documents that I fetch
from REST calls.

Thanks



More information about the Use-livecode mailing list