summaryrefslogtreecommitdiff
path: root/scipy_distutils/exec_command.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2004-02-01 10:56:43 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2004-02-01 10:56:43 +0000
commit20bbaaf22546b712cdb237566c32154f5c7d83bc (patch)
treea1b6c5ffb38e0407b6fa7bf597140c832554c75c /scipy_distutils/exec_command.py
parentea56471ae96897372f6bf45e8fb1ac40bd02207b (diff)
downloadnumpy-20bbaaf22546b712cdb237566c32154f5c7d83bc.tar.gz
Workaround for cygwin
Diffstat (limited to 'scipy_distutils/exec_command.py')
-rw-r--r--scipy_distutils/exec_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy_distutils/exec_command.py b/scipy_distutils/exec_command.py
index d07627ca0..eab722a74 100644
--- a/scipy_distutils/exec_command.py
+++ b/scipy_distutils/exec_command.py
@@ -255,7 +255,7 @@ def _exec_command_posix( command,
filter = ''
if use_tee == 2:
filter = r'| tr -cd "\n" | tr "\n" "."; echo'
- command_posix = '( %s 2>&1 ; echo $? > %s ) | tee %s %s'\
+ command_posix = '( %s ; echo $? > %s ) 2>&1 | tee %s %s'\
% (command_str,stsfile,tmpfile,filter)
else:
command_posix = '%s > %s 2>&1' % (command_str,tmpfile)