summaryrefslogtreecommitdiff
path: root/scipy_distutils/exec_command.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2004-03-26 17:05:47 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2004-03-26 17:05:47 +0000
commit0d3f9d2ec9b74efde4025961fa79a62c2515ef18 (patch)
treec1f5d14be022935a2b3324dca8686c5a2e5e51f7 /scipy_distutils/exec_command.py
parent88424c57b68646e5c2e3f202c130e9d6b7c9f4f4 (diff)
downloadnumpy-0d3f9d2ec9b74efde4025961fa79a62c2515ef18.tar.gz
Disabled use_shell for sun os
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 060979c85..8ae0eb44a 100644
--- a/scipy_distutils/exec_command.py
+++ b/scipy_distutils/exec_command.py
@@ -188,7 +188,7 @@ def exec_command( command,
if use_tee is None:
use_tee = os.name=='posix'
if use_shell is None:
- use_shell = os.name=='posix'
+ use_shell = os.name=='posix' and sys.platform[:5]!='sunos'
execute_in = os.path.abspath(execute_in)
oldcwd = os.path.abspath(os.getcwd())