I/O Rediredtion under DOS and I think UNIX

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

Can you redirect STDERR messages, ie messages that goto handle 2 in Euphoria eg
puts(2,
"Big Error")
No!!!!!

Why, because this is a fundemental part of DOS design. You don't want to miss an
important error message do you?

You may be able to redirect it, I'm not sure, by changing your settings by using
CTTY. This is _not_ advised!

You can however redirect STDOUT
ie 1. I do it all the time, it helps tracing and is the quickest way to save dat
a.
? the data while > or >> to a file.

So use 1 to output unless it's real important.

---
Sincerely,
Mathew Hounsell
Mat.Hounsell at mailexcite.com




Free web-based email, Forever, From anywhere!
http://www.mailexcite.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu