StdOut on Windows

Ken Ray kray at sonsothunder.com
Sun Jan 22 13:49:30 EST 2012


On Jan 22, 2012, at 12:28 PM, Mike Bonner wrote:

> If you run it with the -ui parameters, as you've seen nothing appears on
> screen. But if you pipe to cat, viola' It works.

If you don't have cat, you can pipe it to 'more' as well, and that works (although after a delay). My code:

on startup
    write "Hello" & cr to stdOut
    quit
end startup

I called the standalone "cmdlinetest" so when I ran this in the command window:

  cmdlinetest | more

if put "Hello" into the current command window (after a second delay though).

Just FYI,

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/	




More information about the use-livecode mailing list