diff options
author | =?UTF-8?q?Michael=20Elsd=C3=B6rfer?= <michael@elsdoerfer.com> | 2013-11-21 18:26:44 +0100 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-11-30 14:11:15 +0100 |
commit | eae5c1adb9d16ab465996a88ad90b21166f4d7a2 (patch) | |
tree | 10e24dabee009bd35698cde593b16bdf6d6f8036 /pyload/plugins | |
parent | Merge pull request #386 from vuolter/s/setup_clean (diff) | |
download | pyload-eae5c1adb9d16ab465996a88ad90b21166f4d7a2.tar.xz |
Merged #407
Make debugging script issue a bit easier
(cherry picked from commit 6df98309258e180587a71bd13940ca0ff7c56029)
Diffstat (limited to 'pyload/plugins')
-rw-r--r-- | pyload/plugins/addons/ExternalScripts.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pyload/plugins/addons/ExternalScripts.py b/pyload/plugins/addons/ExternalScripts.py index de8afda5f..b1a9420bb 100644 --- a/pyload/plugins/addons/ExternalScripts.py +++ b/pyload/plugins/addons/ExternalScripts.py @@ -73,6 +73,7 @@ class ExternalScripts(Hook): def callScript(self, script, *args): try: cmd = [script] + [str(x) if not isinstance(x, basestring) else x for x in args] + self.logDebug("Executing %(script)s: %(cmd)s" % {"script": os.path.abspath(script), "cmd": " ".join(cmd)}) #output goes to pyload subprocess.Popen(cmd, bufsize=-1) except Exception, e: |