1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 06:48:49 +00:00

adding subprocess compatibility for python < 3.5

This commit is contained in:
deadc0de6
2017-09-08 17:49:07 +02:00
parent ce9457e343
commit 13067bf123

View File

@@ -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')