On 2012-01-01 16.40, Clément de l'Hamaide wrote:
> When I remove all " 2>&1 | tee -a $LOGFILE" and I replace it by a
> simple ">>  $LOGFILE" I see many less information in terminal when
> script is running. It's very annoying to haven't information about
> step in terminal... For example, when the script downloading OSG from
> SVN there is nothing written in terminal... I wait during some minute
> without know if my script is running. Before, with " 2>&1 | tee -a
> $LOGFILE" I could see all downloading files in real time.
>
> (1) Have you an other solution about " 2>$1 | tee -a $LOGFILE" ? (Or
> may be re-explain me again with an example)

Start your script as a background process and then you can do 'tail -f 
logfile' to follow the progress on screen.


Jari


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to