07-13-09-Redirection

From Msim

Revision as of 21:26, 13 July 2009 by Jloew (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This discusses the support of the redirection of stderr (as handled by the .arg files).

Usage

The June 18th release only allowed "2>" as a redirection operator.
All releases after July 13th permit the following: "2>", ">&", "2>>" as redirection of stderr.
Old code:

else if(std::string(buffer) == "2>")

New code:

else if(std::string(buffer) == "2>" || std::string(buffer) == ">&" || std::string(buffer) == "2>>")
Personal tools