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.21:47:34
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=44345

Yes, this works for me as well:

$ 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) 2>/dev/null')
256

I checked in that change as pydoc.py 1.70 and am closing this item.  
One last question, however...  Is there some reason the 'more' test just 
below:

    if hasattr(os, 'system') and os.system('more %s' % filename) == 0:

has a slightly different structure?  Why not 'more 2>/dev/null' or now 
'(more) 2>/dev/null'?
History
Date User Action Args
2007-08-23 15:15:24adminlinkissue612111 messages
2007-08-23 15:15:24admincreate