Re: eval() function
- Posted by Robert Craig <rds at RapidEuphoria.com> Nov 03, 2005
- 575 views
Robert Craig wrote: > Alex Chamberlain wrote: > > Does system() normally work to redirect output, > > for a Euphoria program, on Linux? > > Yes, your system command can redirect output of a program > to standard out, or standard error. I didn't say that very well. I should have said that a system command can redirect the standard output or standard error output (or standard input) of a program, even a Euphoria program. Here's a Linux example that does all 3:
system("mail < mail_commands > headers 2> /dev/null", 2)
I've never figured out how to redirect standard error on DOS or Windows. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com