Tuesday, March 31, 2015

Re: subprocess behave diferent in the server than in the client.

playing a littlie bit more, I found out that does work if I am using the manage.py runserver.
but doesn't work using the production django =(.



On Monday, March 30, 2015 at 5:53:59 PM UTC-5, dk wrote:
hi, I have a button in my webpage that lunch a subprocess and check the ping of the computer and save the information in a text file. that's it,  very basic stuff.

If I am doing my click in the server computer  everything works,
the subprocess will ping the computer, make the file and save the information.
and go back the corresponding view.


but if I do it from a client computer,  does all the script,  return the view that needs to return, but it never lunched the subprocess =(.   is like that line was commented or something doesn't even complain or spits errors =(

have any one got an issue like this?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bb43b536-352e-4eb0-b32a-485860d19e13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment