There are a number of 'os' types/functions that need to be wrapped, specifically:
os.exec(cmd): Executes a command, which can either be a str (which should be split), or a list of string arguments to execute (i.e. will be argv). This may wrap multiple functions from the exec* functionality in C. Possible variations include: allow opening processes to be captured (i.e. stdin, stdout, and stderr)
os.stat (or os.path.stat) type, which should be platform agnostic (so no '.st_*' members, try and wrap them in a responsible manner)
- Permission-based functions (
access, chown, chmod, etc). Try and combine functionality wherever possible (i.e. reduce redundant functions)
os.path niceties, such as common prefix, basename, dirname, extension grabbing, and so forth
There are a number of 'os' types/functions that need to be wrapped, specifically:
os.exec(cmd): Executes a command, which can either be astr(which should be split), or a list of string arguments to execute (i.e. will beargv). This may wrap multiple functions from theexec*functionality in C. Possible variations include: allow opening processes to be captured (i.e. stdin, stdout, and stderr)os.stat(oros.path.stat) type, which should be platform agnostic (so no '.st_*' members, try and wrap them in a responsible manner)access,chown,chmod, etc). Try and combine functionality wherever possible (i.e. reduce redundant functions)os.pathniceties, such as common prefix, basename, dirname, extension grabbing, and so forth