1. Re: rigid data structures

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.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu