From 1c9a13cd968559f89ba6b114c978eeb8c9629bed Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Fri, 21 Jun 2024 14:59:22 +0200 Subject: rest: add cmd field to POST /shell/run echo command that has been run for storage in ogserver, until GET /shell/output is invoked. --- src/windows/ogOperations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/windows') diff --git a/src/windows/ogOperations.py b/src/windows/ogOperations.py index bf35bff..d0230eb 100644 --- a/src/windows/ogOperations.py +++ b/src/windows/ogOperations.py @@ -93,7 +93,7 @@ class OgWindowsOperations: if error.stdout: return error.stdout return "{Non zero exit code and empty output}" - return (result.returncode, result.stdout) + return (result.returncode, cmd, result.stdout) def session(self, request, ogRest): raise NotImplementedError -- cgit v1.2.3-18-g5258