I am trying to execute commands using communicate in the terminal that i spawned.
 sitecreate_proc = subprocess.Popen(['gnome-terminal'], stdout=subprocess.PIPE, stdin=subprocess)
 out = sitecreate_proc.communicate("pwd")
 print out
the "out" variable is always empty. Displaying the terminal is necessary.
 
     
     
    