(self, cwd)
Store the original cwd our process inherits
Store the original cwd our process inherits
Store the original cwd our process inherits
def set_origcwd(self, cwd):
        """Store the original cwd our process inherits"""
        if cwd == '/':
            cwd = os.path.expanduser('~')
            os.chdir(cwd)
        self.origcwd = cwd
def set_origcwd ( self , cwd ) : if cwd == '/' : cwd = os . path . expanduser ( '~' ) os . chdir ( cwd ) self . origcwd = cwd