On Mon, Jul 21, 2008 at 12:13 AM, Julien Phalip <[EMAIL PROTECTED]> wrote:
> Anyway, I can't really debug these errors because the output doesn't
> entirely fit in the command window. So I'd like to save the output in
> a file, but it doesn't work. I tried:
>
> set PYTHONPATH=E:\django
> runtests.py --settings=settings > results.txt
>
> But the file remains empty. I wonder if that's because Django crashes
> and the writing is interrupted somehow.
>
> Do you know how I can get it to write the whole output in a text file?

You can redirect both stdout and stderr to a file like this:

set PYTHONPATH=E:\django runtests.py --settings=settings > results.txt 2>&1


Arien

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to