diff options
Diffstat (limited to 'src/linux/ogOperations.py')
-rw-r--r-- | src/linux/ogOperations.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/linux/ogOperations.py b/src/linux/ogOperations.py index 147944f..34ba400 100644 --- a/src/linux/ogOperations.py +++ b/src/linux/ogOperations.py @@ -23,3 +23,7 @@ def execCMD(cmd): raise ValueError('Error: Incorrect command value') return result.decode('utf-8') + +def procsession(disk, partition): + result = subprocess.check_output([OG_PATH + 'interfaceAdm/IniciarSesion', disk, partition], shell=True) + return result.decode('utf-8') |