Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AJAX: readyState not as expected
#3
Thank you Nilamo, but as I said, I've verified that the parent process has terminated. A series of ps listings shows the parent process disappearing and the child continuing, now with init as its parent. Also, netstat shows the http connection remaining open. I don't want to .wait() or .communicate() with the Popen object - I just want to complete the xhttp request leaving the the child to run its course.

I thought the Popen close_fds parameter should have prevented the socket file descriptor being passed to the child, which should have caused it to be closed when the parent dies.
Reply


Messages In This Thread
AJAX: readyState not as expected - by pleriche - Aug-05-2017, 09:28 PM
RE: AJAX: readyState not as expected - by nilamo - Aug-07-2017, 05:16 PM
RE: AJAX: readyState not as expected - by pleriche - Aug-08-2017, 08:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Retrieve data from ajax pthon3 0 1,209 May-29-2022, 10:32 PM
Last Post: pthon3
  POST Reply to Ajax/jQuery (mostly an HTML question) gw1500se 5 2,695 Nov-18-2021, 02:44 PM
Last Post: gw1500se
  Scraping a dynamic data-table in python through AJAX request filozofo 1 3,898 Aug-14-2020, 10:13 AM
Last Post: kashcode
  Flask SelectField using Ajax noah_f 0 2,572 Mar-23-2020, 04:03 PM
Last Post: noah_f
  Ajax and Selenium ankitjindalbti 3 3,361 May-31-2019, 03:40 PM
Last Post: ankitjindalbti

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020