Re: eval() function

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu