I have a script, that I need to run after committing to a project under git revision control. Therefore I created a post-commit hook in my projects .git directory in the sub
Try to use nohup
#!/bin/sh # I am a post-commit hook nohup /usr/local/bin/my_script &