User has stopped the process :param pid: Process ID
(pid)
| 135 | @blueprint.route('/stop/<pid>', methods=['PUT'], endpoint='stop_process') |
| 136 | @pga_login_required |
| 137 | def stop_process(pid): |
| 138 | """ |
| 139 | User has stopped the process |
| 140 | |
| 141 | :param pid: Process ID |
| 142 | """ |
| 143 | try: |
| 144 | BatchProcess.stop_process(pid) |
| 145 | return success_return() |
| 146 | except LookupError as lerr: |
| 147 | return gone(errormsg=str(lerr)) |
| 148 | |
| 149 | |
| 150 | def escape_dquotes_process_arg(arg): |
nothing calls this directly
no test coverage detected