mailRe: See the logfile while runnning relax


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d'Auvergne on August 29, 2013 - 09:34:
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ær Linnet <tlinnet@xxxxxxxxx> 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ær Linnet

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

This is the relax-devel mailing list
relax-devel@xxxxxxx

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



Related Messages


Powered by MHonArc, Updated Thu Aug 29 10:20:08 2013