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:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user