[prev in list] [next in list] [prev in thread] [next in thread] 

List:       relax-devel
Subject:    Re: See the logfile while runnning relax
From:       "Edward d'Auvergne" <edward () nmr-relax ! com>
Date:       2013-08-29 7:33:39
Message-ID: CAED9pY_3WGbswDBVdB6smiaKXCk0UJHPPMmQ=J+Kegze1Z2PPg () mail ! gmail ! com
[Download RAW message or body]

Hi,

This is an easy one.  What you describe is called teeing
(http://en.wikipedia.org/wiki/Tee_%28command%29).  The output is split
into two - one goes to a file, the other to the screen.  If you run:

$ relax --help

you will see that there is a tee option ready for you to use :)

Regards,

Edward





On 29 August 2013 08:41, Troels Emtek=E6r Linnet <tlinnet@gmail.com> wrote:
> Hi.
>
> I really like to keep a logfile while running relax.
>
> So I initiate relax with:
>
> relax_disp relax_1_ini.py -l logfile.txt
>
> But while the script is running, the screen does not show anything.
> And if i try to see the "live" log file with:
>
> tail -f logfile.txt
>
> Nothing is written.
> Only when relax is closed, the logfile is written out, and file is closed.
>
> Is there a way to circumvent this?
>
>
> Best
> Troels Emtek=E6r Linnet
>
> _______________________________________________
> relax (http://www.nmr-relax.com)
>
> This is the relax-devel mailing list
> relax-devel@gna.org
>
> To unsubscribe from this list, get a password
> reminder, or change your subscription options,
> visit the list information page at
> https://mail.gna.org/listinfo/relax-devel

_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
relax-devel@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic