2009-06-08, 09:47
Hello to all .)
I found a big problem inside the Python 2.4 for XBMC or I oversee something
important ....
I write a script to rip a dvd ...
For that reason there should be startet 2 processes with maximal power..
I could start a process inside xbmc as subprocess of xbmc python .
sys.platform.startswith('linux')
preview_command = 'xterm -e /bin/bash &'
status = os.system("%s" % (preview_command))
In this case the xterm terminal is started minimized .... and the script runs
but slowy ....
As soon I type in a command in the terminal (xterm) the hole script runs
very slow and the command to execute needs 15-20 minutes longer
as it woult in xterm I startet over my Desktop .....
For example a dd copy running this way neeeds 25 Minutes longer than
direct startet inside the Desktop
I gueess the problem of the slow responce is the kind the xterm was startet
(inside xbmc -> Python)
Is there a other way to start a process independet inside Python of xbmc with the same interactive power like a shell from the Desktop ?
I found also there is no way to run function os.command
inside Python of XBMC
With the best greetings from switzerland
Hans
I found a big problem inside the Python 2.4 for XBMC or I oversee something
important ....
I write a script to rip a dvd ...
For that reason there should be startet 2 processes with maximal power..
I could start a process inside xbmc as subprocess of xbmc python .
sys.platform.startswith('linux')
preview_command = 'xterm -e /bin/bash &'
status = os.system("%s" % (preview_command))
In this case the xterm terminal is started minimized .... and the script runs
but slowy ....
As soon I type in a command in the terminal (xterm) the hole script runs
very slow and the command to execute needs 15-20 minutes longer
as it woult in xterm I startet over my Desktop .....
For example a dd copy running this way neeeds 25 Minutes longer than
direct startet inside the Desktop
I gueess the problem of the slow responce is the kind the xterm was startet
(inside xbmc -> Python)
Is there a other way to start a process independet inside Python of xbmc with the same interactive power like a shell from the Desktop ?
I found also there is no way to run function os.command
inside Python of XBMC
With the best greetings from switzerland
Hans