This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# example usage: | |
# | |
# this runs the following commands simultaneously, each in different areas of the screen: | |
# 1) echo hello | |
# 2) cal | |
# 3) for i in 1 2 3 4 5 ; do date; sleep 1; done | |
# | |
# it waits for 2 seconds after they have all finished, before clearing the screen | |
# | |
./run_in_panes.py -s 2 'echo hello' 'cal' 'for i in 1 2 3 4 5 ; do date; sleep 1; done' |