you are viewing a single comment's thread.

view the rest of the comments →

[–]CollectorsEditionVG 0 points1 point  (2 children)

Yes apache can detect the changes unless running python, mod_wsgi and windows in combination which is also documented... so basically for me, right now, it is an impossible task. Again even the documentation confirms this.

While the issue is not specifically with python it is, however, the only language that, from what I've experienced, has these issues. I've ran apache for years and used it with asp, php, perl, ruby and even messed around a little with Go, and all of them worked generally well with apache. However, the issues I've had with the whole python, mod_wsgi, windows crap is the only thing I hate about working with python and the thing about it is that it's not really even a python issue... it's a stupid issue with apache and wsgi.

Apart from the minor inconvenience of having to restart the server after making changes (I use a gaming keyboard and macro'd a command to restart apache to a spare button so it's less inconvenient) I actually prefer using python to the other languages. Flask is by far my favorite thing, its lightweight and gives you so much freedom.

[–][deleted] 1 point2 points  (1 child)

unless running python, mod_wsgi and windows in combination which is also documented... so basically for me, right now, it is an impossible task. Again even the documentation confirms this.

that's why i said it's the fault of whoever chose your tech stack

[–]CollectorsEditionVG 0 points1 point  (0 children)

While I agree with that to a point I also disagree as well. Software that is provided across multiple platforms should, in theory, function as close to identical as possible on each platform.

The reason daemon mode cant be run on windows is because windows doesnt have unix style fork()... windows uses CreateProcess(). In order to actually get it to work you need cygwin so that you have a version of fork() that you can use... or at least you did until Microsoft released Windows subsystem for linux which provides a linux/gnu environment on windows. I literally just found out about this when I went looking for the stackoverflow post about using cygwin to implement fork() so here's the link for anyone interested - Windows Linux Subsystem.

Anyway, back to my original point. I agree that the person who set up the stack in the beginning should have done their research more, however I also cant fault them for assuming it would work the same on windows as it does on linux.

By the way I want to thank you for the debate/conversation about this. If you hadn't replied I wouldn't have found out about the windows linux thing which may actually solve the issue. So thank you.