python - How to run a system command from a django web application? -


does knows of proven , simple way of running system command django application?

maybe using celery? ...

from research, it's problematic task, since involves permissions , insecure approaches problem. right?

edit: use case: delete files on remote machine.

thanks

here 1 approach: in django web application, write message queue (e.g., rabbitmq) containing information need. in separate system, read message queue , perform file actions. can indeed use celery setting system.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -