Skip to content

Instantly share code, notes, and snippets.

@kenaniah
Last active December 23, 2015 13:19
Show Gist options
  • Save kenaniah/6641552 to your computer and use it in GitHub Desktop.
Save kenaniah/6641552 to your computer and use it in GitHub Desktop.
<?php
//Launch the backend
exec('/bin/bash -c "nohup ' . $start_command . ' 1> >(logger -p user.warning -t accounting.py) 2> /dev/null &" > /dev/null 2>&1');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment