#!/usr/bin/python
# Quick launcher for FTGUI
# Subprocess module import
import subprocess,time
# launch fast-track in gui mode
print "\n[-] Automatically launching firefox for Fast-Track GUI on 44444 [-]\n"
try:
   launchgui=subprocess.Popen("python fast-track.py -g", shell=True)
# launch firefox on 44444
   time.sleep(2)
   launchfirefox=subprocess.Popen("firefox localhost:44444 2> /dev/null", shell=True)
except Exception,e: 
   print "Error Occured! Printing error: "+e
   pass
