diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2004-03-30 16:55:39 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2004-03-30 16:55:39 +0000 |
commit | bea45934772282d176b7e494fbbce118171630dd (patch) | |
tree | 18a9beacb0b7c25d9d17566fdb50b197e9034ba4 /scipy_distutils/exec_command.py | |
parent | 2d7c53055afd78acfddb455173498983b8da4993 (diff) | |
download | numpy-bea45934772282d176b7e494fbbce118171630dd.tar.gz |
Using _exec_command_posix on sunos.
Diffstat (limited to 'scipy_distutils/exec_command.py')
-rw-r--r-- | scipy_distutils/exec_command.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scipy_distutils/exec_command.py b/scipy_distutils/exec_command.py index b97169e4d..c55f47068 100644 --- a/scipy_distutils/exec_command.py +++ b/scipy_distutils/exec_command.py @@ -189,7 +189,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' and sys.platform[:5]!='sunos' + use_shell = os.name=='posix' execute_in = os.path.abspath(execute_in) oldcwd = os.path.abspath(os.getcwd()) @@ -225,7 +225,7 @@ def exec_command( command, st = _exec_command_python(command, exec_command_dir = exec_dir, **env) - elif os.name=='posix' and sys.platform[:5]!='sunos': + elif os.name=='posix': st = _exec_command_posix(command, use_shell=use_shell, use_tee=use_tee, |