Added cmd() function
Created by: agraubert
ShellReturnObject and StdoutAdapter are support classes for the cmd() function which is a shorthand for making calls to the system shell within python. The general idea is that cmd() makes python more viable as a primary shell by adding a very simple shorthand for the subprocess module. Specifically, this helps a separate project I'm working on called pysh
, a shell which takes mixed python and shell syntax.