| Index: pydir/utils.py
|
| diff --git a/pydir/utils.py b/pydir/utils.py
|
| index 6039e777a2dca277eee8789a2649d8f57d176eaf..f81c07ed4c3bf07236fe345588eff354b5d2fdee 100644
|
| --- a/pydir/utils.py
|
| +++ b/pydir/utils.py
|
| @@ -6,7 +6,10 @@ def shellcmd(command, echo=True):
|
| if not isinstance(command, str):
|
| command = ' '.join(command)
|
|
|
| - if echo: print '[cmd]', command
|
| + if echo:
|
| + print >> sys.stderr, '[cmd]'
|
| + print >> sys.stderr, command
|
| + print >> sys.stderr
|
|
|
| stdout_result = subprocess.check_output(command, shell=True)
|
| if echo: sys.stdout.write(stdout_result)
|
|
|