for the broken pipe error, perhaps theres a different way I can get shell output other than using subprocess? I need the output of alias command into a string and output of declare command into a string as well, I would like to also avoid creating of a single liner script to make this happen if at all possible<br clear="all">

<br><div>Thank you,<br>-Alex Goretoy<br></div>