[Tutor] Spawning terminals from Python - A failed question

wormwood_3 wormwood_3 at yahoo.com
Sat Aug 25 02:52:12 CEST 2007

>>Umm, so just put the ampersand at the end of the command string and
>>call os.system()

Not sure what the point of this variation would be if os is being deprecated along with commands...

>>However both os.system and the commands module are deprecated in 
>>of the new(ish) subprocess module where the equivalent incantation 
>>would be:
>>p = subprocess.Popen("gnome-terminal", shell=True)HTH,-- Alan 

Good to know! I will start using this instead.


More information about the Tutor mailing list