The answer was to add the sleep command:
terminal = os.popen("gnome-terminal --title=Parport_address_search -x lspci -v
;sleep 1", "w" )
Chris M
From: [email protected]
To: [email protected]
Date: Wed, 26 Aug 2009 06:08:32 +0000
Subject: [Emc-developers] help with gnome-terminal commands in python
Hi guys
I want to open a terminal and display the output of lspci -v | less in
a python program. Something similar to this:
self.terminal = os.popen("gnome-terminal --title=joystick_search -x less
/proc/bus/input/devices", "w" )
I've tried :
self.terminal = os.popen("gnome-terminal --title=Parport_search -x less
/proc/bus/pci/devices", "w" )
and variations on:
self.terminal = os.popen("gnome-terminal --title=Parport_search -x less lspci
-v", "w" )
What do you suggest?
Thanks Chris M
Send and receive email from all of your webmail accounts - right from your
Hotmail inbox!
_________________________________________________________________
Stay in the loop and chat with friends, right from your inbox!
http://go.microsoft.com/?linkid=9671354------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers