This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skip.montanaro
Recipients
Date 2002-09-26.11:54:15
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=44345

> Have you figured out why you're getting an error message?

The underlying shell spits a message out somewhere other than stdout 
or stderr?  Here's a cut-n-paste from the Solaris system in question:

$ python
Python 2.2.1 (#2, Sep  9 2002, 17:22:35) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.system('less')
sh: less: not found
256
>>> os.system('less 2>/dev/null')
sh: less: not found
256
>>> os.system('less >/dev/null 2>/dev/null')
sh: less: not found
256
>>> os.system('less >/dev/null 2>&1')
sh: less: not found

My guess is that on Solaris 8 /bin/sh (which is  a real old-fashioned 
Bourne shell, not bash trying to pretend it's the Bourne shell) actually 
spits that message out to /dev/tty instead of stderr.
History
Date User Action Args
2007-08-23 15:15:23adminlinkissue612111 messages
2007-08-23 15:15:23admincreate