Closed ozcanyarimdunya closed 7 years ago
take_control is for interactive, while in shell.
you could build something in django, but 1) it would be for a one time command ? if not you'll need to save the open connections somehow... 2) would it wait for the command to finish ? and only then return ?
If you want something interactive you might need to find something based on websockets or emulate a shell maybe something like this: https://github.com/sourcelair/xterm.js
Yes, this is definitely what i want. Thanks.
@ozcaan11 glad I've could be of service :) (but damn, now i'm looking for doing something with this xtrem.js...)
i think it is would be perfect :)
I am trying to use interact.take_control() in django view which will be shown in browser and user will send
command from form. Does it possible, if not what should i do ?