Add debug message to run_command
[time-slider.git] / usr / share / time-slider / lib / time_slider / util.py
index e48326c..600240e 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.6
+#!/usr/bin/python2
 #
 # CDDL HEADER START
 #
@@ -35,6 +35,8 @@ def run_command(command, raise_on_try=True):
     Throws a RunTimeError if the command failed to execute or
     if the command returns a non-zero exit status.
     """
+
+    debug("Trying to run command %s" % (command), True)
     try:
         p = subprocess.Popen(command,
                              stdout=subprocess.PIPE,