Skip to content

'os' types/functions (exec, etc.) #1

@cadebrown

Description

@cadebrown

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestmoduleRelating to a standard module

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions