Guest User

Untitled

a guest
Jan 22nd, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. from django.core.management.base import BaseCommand
  2. import subprocess
  3.  
  4. class Command(BaseCommand):
  5. help = 'Text here'
  6.  
  7. def handle(self, *args, **options):
  8. subprocess.Popen(["/home/ubuntu/contacts/contacts/scripts/ffp_bash.sh"], shell=True)
Add Comment
Please, Sign In to add comment