Hello all,
what i am try to do is control stdout, stderr and stdin.
For example:
Shell Script File:
Code:
wget http://ufpr.dl.sourceforge.net/sourceforge/pyxml/PyXML-0.8.4.tar.gz >> MyLogFile
tar xvfz PyXML-0.8.4.tar.gz >> MyLogFile
cd PyXML-0.8.4 >> MyLogFile
python setup.py install >> MyLogFile
when run the script i want to
print stdin
print stderr like this "Error: stderr"
don't print stdout
and save all stdout, stderr and stdin to MyLogFile
Any help would be much appreciated.