From 13067bf123cf84f95c545132b061236c55bb71cc Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Fri, 8 Sep 2017 17:49:07 +0200 Subject: [PATCH] adding subprocess compatibility for python < 3.5 --- dotdrop/action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotdrop/action.py b/dotdrop/action.py index d5e9538..c5d9dc0 100644 --- a/dotdrop/action.py +++ b/dotdrop/action.py @@ -18,7 +18,7 @@ class Action: def execute(self): self.log.sub('executing \"%s\"' % (self.action)) try: - subprocess.run(self.action, shell=True) + subprocess.call(self.action, shell=True) except KeyboardInterrupt: self.log.warn('action interrupted')