Last active
May 22, 2019 12:56
-
-
Save rpromyshlennikov/6266272df15cef2fff9d7a9f00be7a1b to your computer and use it in GitHub Desktop.
Start services in one xfce4-terminal window in diff tabs
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
#!/usr/bin/env bash | |
set -e | |
xfce4-terminal -e 'env PROMPT_COMMAND="unset PROMPT_COMMAND;docker start <docker_id>" bash' | |
xfce4-terminal --tab -T nService \ | |
-e 'env PROMPT_COMMAND="unset PROMPT_COMMAND; cd work_dir/nService; source ../prepare_env_.sh; make build && ./nService -console" bash' \ | |
--tab -T mService \ | |
-e 'env PROMPT_COMMAND="unset PROMPT_COMMAND; cd work_dir/mService; source ../prepare_env_.sh; make build && ./mService -console" bash' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment