run_demo_in_background function

Run Demo in Background