#15880: manage.py: difficult to run in background (and crashes when input isn't 
a
terminal)
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  dstndstn@…                         |         Status:  new
                   Type:  Bug        |      Component:  Core (Management
              Milestone:             |  commands)
                Version:  1.3        |       Severity:  Normal
             Resolution:             |       Keywords:
           Triage Stage:  Accepted   |      Has patch:  0
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
-------------------------------------+-------------------------------------

Comment (by dstndstn@…):

 It used to work in previous releases :)

 A standard use case for me is to ssh to a remote server, run the devserver
 in the background while editing the code in the foreground.  This bug
 makes that difficult to do.

 Piping /dev/null to stdin was just an attempted hack to make it continue
 running in the background.

 If I run it normally and then try to put it in the background with "ctrl-Z
 bg" it stalls whenever the code is modified and has to be brought to the
 foreground before it resumes operation.  That means leaving my editor
 after every edit, bringing the devserver to the foreground for a moment,
 putting it back in the background and then returning to the editor.  That
 is not easier than just ctrl-Cing the devserver, which means that this bug
 cancels out the usefulness of the [extremely useful!] auto-reload
 functionality, at least when the devserver is used in this way.

 thanks!
 --dustin

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15880#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

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

Reply via email to