Feature Requests item #489106, was opened at 2001-12-04 14:40 Message generated for change (Comment added) made by donut You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=355470&aid=489106&group_id=5470
Category: None Group: None >Status: Closed Resolution: None Priority: 5 Submitted By: Matthew Mueller (donut) Assigned to: Nobody/Anonymous (nobody) Summary: commands.mkarg function should be public Initial Comment: There is a strange ommision in the commands module, you can safely get the ls -ld of a file since it shell-quotes its argument, but yet you cannot safely run other commands since the mkarg function isn't "public" (well, not if you only follow the docs, or do import *). In addition, since commands.py seems to be unix only, it would be better for the mkarg functionality to be moved to the os module so that on other OSes you could use it with os.system, etc. (well, I guess maybe it would belong in the os-specific modules like posix, nt, etc, since its probably varies) (Though it should probably be given a better name in that case, like os.mkshellarg or somesuch.) ---------------------------------------------------------------------- >Comment By: Matthew Mueller (donut) Date: 2005-02-09 23:22 Message: Logged In: YES user_id=65253 With the addition of the subprocess module in Python 2.4, I think this is no longer necessary. Therefore, I am closing it. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=355470&aid=489106&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com