Difference between revisions of "Wrapper:Wah!Cade Startup"
Jump to navigation
Jump to search
(Created page with "== About == This is an example bash script wrapper example for executing commands pre and post Wah!Cade execution == Bash Script == <pre> #!/bin/bash WAHCADEDIR="/home/user/wahc...") |
(No difference)
|
Latest revision as of 03:13, 9 January 2011
About
This is an example bash script wrapper example for executing commands pre and post Wah!Cade execution
Bash Script
#!/bin/bash WAHCADEDIR="/home/user/wahcade" PYTHON=`which python` # ### PRE COMMANDS ### # user commands to run before wahcade # ### WAHCADE COMMAND ### # cd ${WAHCADEDIR} ${PYTHON} wahcade.py wait # ### POST COMMANDS ### # user commands to run after wahcade