Skip to content

Instantly share code, notes, and snippets.

@jcsackett
Created January 6, 2010 13:25
Show Gist options
  • Save jcsackett/270272 to your computer and use it in GitHub Desktop.
Save jcsackett/270272 to your computer and use it in GitHub Desktop.
#!/bin/bash
# if the file doesn't already exist, create it so we can start a new
# file by calling scribes on it.
if [ ! -e $1 ]
then
touch $1
fi
# now open the file in a totally separated scribes process
nohup scribes $1 </dev/null &>/dev/null &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment