| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | set -euo pipefail |
| 3 | |
| 4 | # A wrapper to ensure we have a window manager running when tests are run. |
| 5 | # This is required for new windows to become focused when they are created. |
| 6 | |
| 7 | CMD=$* |
| 8 | |
| 9 | openbox & |
| 10 | sleepscip-shell system . . sleep. 1 |
| 11 | $CMD |