summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/iutil.py b/iutil.py
index cc9170bb9..56f61e15e 100644
--- a/iutil.py
+++ b/iutil.py
@@ -59,6 +59,7 @@ def execWithRedirect(command, argv, stdin = 0, stdout = 1, stderr = 2,
if type(stderr) == type("string"):
stderr = open(stderr, "w")
+ stdout.write("Running... %s\n" %([command] + argv,))
try:
proc = subprocess.Popen([command] + argv, stdin=stdin, stdout=stdout,
stderr=stderr, preexec_fn=chroot, cwd=root)
@@ -118,6 +119,7 @@ def execWithPulseProgress(command, argv, stdin = 0, stdout = 1, stderr = 2,
stdout = open(stdout, "w")
if type(stderr) == type("string"):
stderr = open(stderr, "w")
+ stdout.write("Running... %s\n" %([command] + argv,))
p = os.pipe()
childpid = os.fork()