def __init__(self, cwd="c:/cygwin64/home/cosgrma"): super(BashWidget, self).__init__() self.ui = Ui_MainWindow() self.setupUi() self.bash = None self.cwd = cwd