1. Re: rigid data structures

>Date:         Sat, 22 Aug 1998 20:05:47 -0400
>Reply-To:     Euphoria Programming for MS-DOS
<EUPHORIA at LISTSERV.MUOHIO.EDU>
>From:         Robert Craig <rds at EMAIL.MSN.COM>
>Subject:      Re: rigid data structures
>To:           EUPHORIA at LISTSERV.MUOHIO.EDU
>
>Jesus Consuegra writes:
>
>> Some time ago I requested system() to return the console output,
>> as many other languages do (like Tcl/Tk,...). That will save lots
>> of opening and closing intermediate files when using Euphoria
>> as a super batch processor. Is it too difficult to implement?.
>
>You could easily write in Euphoria an enhanced system() that
>would send the standard output to a temp file and then read it
>and "return" it, but I guess you'd like to avoid the temp file
entirely.
>
>Does Tcl do this on DOS/Windows, or rather on UNIX?
>
>With system(), and DOS in general, you can redirect
>standard output as:
>      command > temp
>Does anyone know how to redirect standard error?
>I know in UNIX you can redirect both of them.
>
>I still have as a high priority, a new kind of system()
>that will give you the exit code from a command,
>and won't start a new DOS shell.
>

I like the last! I made a menu with euphoria, to come to find out it was
using another shell to do commands. Eww. (BUT, that was in my 3.11
days...)

-- "LEVIATHAN"

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu