diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2004-02-01 11:07:24 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2004-02-01 11:07:24 +0000 |
commit | f09957a1e0d6071cc344e190c673e3121abfef2b (patch) | |
tree | a460e73ebe61011bad8a55480b23c43548f5a34a /scipy_distutils/exec_command.py | |
parent | 20bbaaf22546b712cdb237566c32154f5c7d83bc (diff) | |
download | numpy-f09957a1e0d6071cc344e190c673e3121abfef2b.tar.gz |
Under nt always use sys.executable as python
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 eab722a74..d75768f57 100644 --- a/scipy_distutils/exec_command.py +++ b/scipy_distutils/exec_command.py @@ -36,7 +36,7 @@ # nt | win32 | Cygwin 98-4.10, Python 2.1.1(MSC) - echo tests # fail i.e. redefining environment variables may # not work. -# +# posix | cygwin | Cygwin 98-4.10, Python 2.3.3(cygming special) __all__ = ['exec_command','find_executable'] @@ -467,7 +467,7 @@ def test_nt(): s,o=exec_command('%s -c "import sys;sys.exit(15)"' % pythonexe) assert s==15 and o=='',(s,o) - s,o=exec_command('python -c "print \'Heipa\'"') + s,o=exec_command('%s -c "print \'Heipa\'"' % pythonexe) assert s==0 and o=='Heipa',(s,o) print 'ok' |