summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-04-05 23:08:09 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-04-06 20:22:35 +0100
commit7256810914e6664bf92041dcd7c3daf649ce0001 (patch)
tree6e7b0971ecd8859cff864b3ebb37f86f8ba288f5 /python/vyos
parentecf1e3d499d8a825bb675e11c07bbc7b0981c431 (diff)
downloadvyos-1x-7256810914e6664bf92041dcd7c3daf649ce0001.tar.gz
vyos-1x-7256810914e6664bf92041dcd7c3daf649ce0001.zip
util: T2226: remove all references to subprocess_cmd
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/util.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/python/vyos/util.py b/python/vyos/util.py
index e0030d1bd..fa2b4dd99 100644
--- a/python/vyos/util.py
+++ b/python/vyos/util.py
@@ -89,14 +89,6 @@ def cmd(command, section='', shell=None, input=None, timeout=None, env=None, uni
return decoded
-# This is now deprecated
-def subprocess_cmd(command):
- """ execute arbitrary command via Popen """
- from subprocess import Popen, PIPE
- p = Popen(command, stdout=PIPE, shell=True)
- p.communicate()
-
-
# file manipulation