Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #79370 > unrolled thread
| Started by | Praveen Kumar <kumarpraveen.nitdgp@gmail.com> |
|---|---|
| First post | 2014-10-20 14:46 +0530 |
| Last post | 2014-10-20 14:46 +0530 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Struggling with python-daemon and subprocess module to work together Praveen Kumar <kumarpraveen.nitdgp@gmail.com> - 2014-10-20 14:46 +0530
| From | Praveen Kumar <kumarpraveen.nitdgp@gmail.com> |
|---|---|
| Date | 2014-10-20 14:46 +0530 |
| Subject | Struggling with python-daemon and subprocess module to work together |
| Message-ID | <mailman.15029.1413875486.18130.python-list@python.org> |
Hi, I am writing a very basic server side application[0] which get data from a client and create a virtual machine using provided data and also tells client about what's going on during *virt-install* command execution. Previously this basic server is executed using *openvt* but I thought it would be nice to have a daemon process for it and used python-daemon. Issue I am facing is after some time server will stop sending data to client which suppose to happen in #120 and get error message "Cannot run interactive console without a controlling TTY" . I am not able to figure out issue is occurred due to module or I missed something during daemon initialization. [0] http://fpaste.org/143455/ -- Praveen Kumar http://fedoraproject.org/wiki/User:Kumarpraveen http://fedoraproject.org/ http://kumar-pravin.blogspot.com
Back to top | Article view | comp.lang.python
csiph-web