using stdout

JB sundown at pacifier.com
Wed Dec 18 15:38:06 EST 2019


So I run the following code in live code after
I have opened the terminal app. and from the
message box I enter,

open process "/Applications/Utilities/Terminal.app" for write
write tMessage && the long time & return to stdout

I get nothing.

JB


> On Dec 18, 2019, at 9:24 AM, Mark Wieder via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> On 12/18/19 7:01 AM, JB via use-livecode wrote:
>> This isn’t something I need but I read in a older manual
>> you can write to the terminal using stdout.  It said the
>> terminal needs to  be open and you use code like
>> below to log or write to the terminal;
>> put "Hello world." into tMessage
>> write tMessage && the long time & return to stdout
>> When I run this code nothing happens even though
>> I have the terminal open.
>> Does anyone know how to use stdout with the terminal
>> from within a stack?
> 
> Works here, on linux at least.
> Launch LC from a commandline, then from the messagebox type
> write "hello, world" to stdout
> 
> -- 
> Mark Wieder
> ahsoftware at gmail.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list