lxsang / PTerm

MIT License
34 stars 8 forks source link

Factored out method #open:arguments: from #openShell: on TerminalEmulator #21

Closed Rinzwind closed 2 years ago

Rinzwind commented 2 years ago

I factored out a method #open:arguments: from #openShell: so that other arguments can be passed.

Example which runs Bash as a login shell within one’s home directory:

TerminalEmulator open: '/bin/sh' arguments: #('-c' 'cd ~; exec /bin/bash -l')