Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: [Newbie]: Rebol script output to Windows stdout

From: dgarrard:nufocusinc at: 8-Jul-2004 9:20

>DG> I am wondering if Rebol can be called in a Windows shell
execute/execprogram
>DG> mode with the goal of returning test to stdout. >DG> I was hoping that a variation of 'print' would do it for me.
Gregg Irwin wrote:
>Have you tried launching it (REBOL) with the -c option, to run it CGI >mode? That should do the trick. Then just PRINT as normal.
Running Rebol/Core 2.5.6.3.1 on Windows XP, (and also tested with Win 95) and running command.com. If I attempt to PRINT ["Hello world"] within a script, I get no output to the command line. IE: c:\REBOL\Rebol.exe helloworld.r -c Script is: REBOL [ Title: "Hello world script" File: %helloworld Date: 07/01/2004 Purpose: {PRINT "Hello world to console.} Note: { None } ] print ["hello world"] quit Any ideas? Seems so basic a task. Thanks again, David Garrard