diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-06-21 14:59:22 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-06-21 14:59:48 +0200 |
commit | 1c9a13cd968559f89ba6b114c978eeb8c9629bed (patch) | |
tree | a7a6bcbad989da1908b35c08351865871e0a41de /src/windows/ogOperations.py | |
parent | 19cd1b9a783646522bcbe46a4e4f9580c0a1d512 (diff) |
rest: add cmd field to POST /shell/run
echo command that has been run for storage in ogserver, until GET /shell/output
is invoked.
Diffstat (limited to 'src/windows/ogOperations.py')
-rw-r--r-- | src/windows/ogOperations.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |