New answers tagged

0 votes

Close / kill / hide single Terminal window in bash on 'process complete'

Something more generic for using with Linux and macOS: #!/bin/bash -e function kill_self_terminal { local tk_child_pid=$1 if [[ $tk_child_pid == 1 ]]; then return 1 fi local tk_parent_pid=...
Carlos Saltos's user avatar

Top 50 recent answers are included